1 ext4: remove parameter from ext4_xattr_ibody_set()
3 From: Eric Whitney <enwlinux@gmail.com>
5 The parameter "handle" isn't used.
7 Signed-off-by: Eric Whitney <enwlinux@gmail.com>
8 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
10 fs/ext4/xattr.c | 11 +++++------
11 1 file changed, 5 insertions(+), 6 deletions(-)
13 diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c
14 index d77be9e..2ee1378 100644
17 @@ -1109,7 +1109,7 @@ int ext4_xattr_ibody_inline_set(handle_t *handle, struct inode *inode,
21 -static int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
22 +static int ext4_xattr_ibody_set(struct inode *inode,
23 struct ext4_xattr_info *i,
24 struct ext4_xattr_ibody_find *is)
26 @@ -1216,7 +1216,7 @@ ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index,
30 - error = ext4_xattr_ibody_set(handle, inode, &i, &is);
31 + error = ext4_xattr_ibody_set(inode, &i, &is);
32 else if (!bs.s.not_found)
33 error = ext4_xattr_block_set(handle, inode, &i, &bs);
35 @@ -1227,7 +1227,7 @@ ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index,
36 if (!bs.s.not_found && ext4_xattr_value_same(&bs.s, &i))
39 - error = ext4_xattr_ibody_set(handle, inode, &i, &is);
40 + error = ext4_xattr_ibody_set(inode, &i, &is);
41 if (!error && !bs.s.not_found) {
43 error = ext4_xattr_block_set(handle, inode, &i, &bs);
44 @@ -1242,8 +1242,7 @@ ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index,
46 if (!is.s.not_found) {
48 - error = ext4_xattr_ibody_set(handle, inode, &i,
50 + error = ext4_xattr_ibody_set(inode, &i, &is);
54 @@ -1384,7 +1383,7 @@ static int ext4_xattr_move_to_block(handle_t *handle, struct inode *inode,
57 /* Remove the chosen entry from the inode */
58 - error = ext4_xattr_ibody_set(handle, inode, &i, is);
59 + error = ext4_xattr_ibody_set(inode, &i, is);