aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/xattr.c
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2004-07-12 21:16:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-12 21:16:47 -0700
commit486198fbfff7a410702ef109a0aabe8e7562df5b (patch)
tree9bc1b381a890acee98293d63371a47fca9cb3b0a /fs/ext2/xattr.c
parent8a4ba9cfd11b63a49d360e2714a59d4a539a88d2 (diff)
downloadhistory-486198fbfff7a410702ef109a0aabe8e7562df5b.tar.gz
[PATCH] sparse: more fs/* NULL noise removal
(partially based on patch from Mika Kukkonen)
Diffstat (limited to 'fs/ext2/xattr.c')
-rw-r--r--fs/ext2/xattr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c
index abefa1c4ce700b..85ee4e8bee0ec4 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -772,7 +772,8 @@ ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh,
s_first_data_block) +
EXT2_I(inode)->i_block_group *
EXT2_BLOCKS_PER_GROUP(sb);
- int block = ext2_new_block(inode, goal, 0, 0, &error);
+ int block = ext2_new_block(inode, goal,
+ NULL, NULL, &error);
if (error)
goto cleanup;
ea_idebug(inode, "creating block %d", block);