diff options
author | Jeff Mahoney <jeffm@suse.com> | 2014-04-23 18:00:38 +0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-05-07 01:08:00 +0400 |
commit | 58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12 (patch) | |
tree | 413b08fdf616386f153a3f6681c6336490cb10e5 /fs/reiserfs/xattr.c | |
parent | 706a5323384d9ae973a72005b73987d39e009019 (diff) | |
download | linux-58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12.tar.xz |
reiserfs: cleanup, remove sb argument from journal_end
journal_end doesn't need a separate sb argument; it's provided by the
transaction handle.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs/xattr.c')
-rw-r--r-- | fs/reiserfs/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index b923e6f315e1..a827d0b1cdb8 100644 --- a/fs/reiserfs/xattr.c +++ b/fs/reiserfs/xattr.c @@ -292,7 +292,7 @@ static int reiserfs_for_each_xattr(struct inode *inode, I_MUTEX_XATTR); err = action(dir, data); reiserfs_write_lock(inode->i_sb); - jerror = journal_end(&th, inode->i_sb); + jerror = journal_end(&th); reiserfs_write_unlock(inode->i_sb); mutex_unlock(&dir->d_parent->d_inode->i_mutex); err = jerror ?: err; @@ -601,7 +601,7 @@ int reiserfs_xattr_set(struct inode *inode, const char *name, buffer, buffer_size, flags); reiserfs_write_lock(inode->i_sb); - error2 = journal_end(&th, inode->i_sb); + error2 = journal_end(&th); reiserfs_write_unlock(inode->i_sb); if (error == 0) error = error2; |