aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/xattr.c
diff options
context:
space:
mode:
authorMika Kukkonen <mika@osdl.org>2004-06-30 01:51:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-30 01:51:31 -0700
commita37f49897f7481741e6011f651c16a91afa9cd54 (patch)
treef62857d84954daff4165ba8b16f4d58d70f3bc15 /fs/ext3/xattr.c
parenta543952164ffafc5d5f1d676ced3d940372bf078 (diff)
downloadhistory-a37f49897f7481741e6011f651c16a91afa9cd54.tar.gz
[PATCH] sparse: NULL vs 0 - filesystems
Diffstat (limited to 'fs/ext3/xattr.c')
-rw-r--r--fs/ext3/xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext3/xattr.c b/fs/ext3/xattr.c
index e818beec46a5a4..163db30a214e85 100644
--- a/fs/ext3/xattr.c
+++ b/fs/ext3/xattr.c
@@ -786,8 +786,8 @@ ext3_xattr_set_handle2(handle_t *handle, struct inode *inode,
EXT3_SB(sb)->s_es->s_first_data_block) +
EXT3_I(inode)->i_block_group *
EXT3_BLOCKS_PER_GROUP(sb);
- int block = ext3_new_block(handle,
- inode, goal, 0, 0, &error);
+ int block = ext3_new_block(handle, inode, goal,
+ NULL, NULL, &error);
if (error)
goto cleanup;
ea_idebug(inode, "creating block %d", block);