diff options
author | Eryu Guan <guaneryu@gmail.com> | 2016-04-06 02:47:21 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-04-06 02:47:21 +0300 |
commit | 6e3e6d55e51774ec7cfc24975749bbddb28a9051 (patch) | |
tree | 87c089ce4be95cc249ee81612ff595269b8971bd /fs/xfs/xfs_inode.c | |
parent | 664b60f6babc98ee03c2ff15b9482cc8c5e15a83 (diff) | |
download | linux-6e3e6d55e51774ec7cfc24975749bbddb28a9051.tar.xz |
xfs: mute some sparse warnings
These three warnings are fixed:
fs/xfs/xfs_inode.c:1033:44: warning: Using plain integer as NULL pointer
fs/xfs/xfs_inode_item.c:525:20: warning: context imbalance in 'xfs_inode_item_push' - unexpected unlock
fs/xfs/xfs_dquot.c:696:1: warning: symbol 'xfs_dq_get_next_id' was not declared. Should it be static?
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 96f606deee31..1445a99a6868 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1030,7 +1030,7 @@ xfs_dir_ialloc( tp->t_flags &= ~(XFS_TRANS_DQ_DIRTY); } - code = xfs_trans_roll(&tp, 0); + code = xfs_trans_roll(&tp, NULL); if (committed != NULL) *committed = 1; |