summaryrefslogtreecommitdiff
path: root/fs/reiserfs/file.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2014-04-23 10:00:38 -0400
committerJan Kara <jack@suse.cz>2014-05-06 23:08:00 +0200
commit58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12 (patch)
tree413b08fdf616386f153a3f6681c6336490cb10e5 /fs/reiserfs/file.c
parent706a5323384d9ae973a72005b73987d39e009019 (diff)
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/file.c')
-rw-r--r--fs/reiserfs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c
index 653074a2a48c..a059320d7b44 100644
--- a/fs/reiserfs/file.c
+++ b/fs/reiserfs/file.c
@@ -96,7 +96,7 @@ static int reiserfs_file_release(struct inode *inode, struct file *filp)
#ifdef REISERFS_PREALLOCATE
reiserfs_discard_prealloc(&th, inode);
#endif
- err = journal_end(&th, inode->i_sb);
+ err = journal_end(&th);
/* copy back the error code from journal_begin */
if (!err)
@@ -227,7 +227,7 @@ int reiserfs_commit_page(struct inode *inode, struct page *page,
}
}
if (logit) {
- ret = journal_end(&th, s);
+ ret = journal_end(&th);
drop_write_lock:
reiserfs_write_unlock(s);
}