diff options
author | Jeff Mahoney <jeffm@suse.com> | 2014-04-23 10:00:37 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-05-06 17:05:40 -0400 |
commit | 706a5323384d9ae973a72005b73987d39e009019 (patch) | |
tree | 19d0e910cf9ab5754f2e8eebc60a851ca7ebe660 /fs/reiserfs/xattr_acl.c | |
parent | 098297b27d23ad9d0fc302e3417474d9342c6c14 (diff) |
reiserfs: cleanup, remove nblocks argument from journal_end
journal_end takes a block count argument but doesn't actually use it
for anything. We can remove it.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs/xattr_acl.c')
-rw-r--r-- | fs/reiserfs/xattr_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/xattr_acl.c b/fs/reiserfs/xattr_acl.c index a333a073bea8..b51ab6ee7ba9 100644 --- a/fs/reiserfs/xattr_acl.c +++ b/fs/reiserfs/xattr_acl.c | |||
@@ -39,7 +39,7 @@ reiserfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) | |||
39 | if (error == 0) { | 39 | if (error == 0) { |
40 | error = __reiserfs_set_acl(&th, inode, type, acl); | 40 | error = __reiserfs_set_acl(&th, inode, type, acl); |
41 | reiserfs_write_lock(inode->i_sb); | 41 | reiserfs_write_lock(inode->i_sb); |
42 | error2 = journal_end(&th, inode->i_sb, jcreate_blocks); | 42 | error2 = journal_end(&th, inode->i_sb); |
43 | reiserfs_write_unlock(inode->i_sb); | 43 | reiserfs_write_unlock(inode->i_sb); |
44 | if (error2) | 44 | if (error2) |
45 | error = error2; | 45 | error = error2; |