summaryrefslogtreecommitdiff
path: root/fs/reiserfs/objectid.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2014-04-23 10:00:39 -0400
committerJan Kara <jack@suse.cz>2014-05-06 23:10:37 +0200
commit09f1b80ba8c967b6e17c0516e95578d5da18115f (patch)
tree73292ba9941be885d1d7d0652a20a5dd2a2964ca /fs/reiserfs/objectid.c
parent58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12 (diff)
downloadlwn-09f1b80ba8c967b6e17c0516e95578d5da18115f.tar.gz
lwn-09f1b80ba8c967b6e17c0516e95578d5da18115f.zip
reiserfs: cleanup, remove sb argument from journal_mark_dirty
journal_mark_dirty 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/objectid.c')
-rw-r--r--fs/reiserfs/objectid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/objectid.c b/fs/reiserfs/objectid.c
index 99f66f885785..99a5d5dae46a 100644
--- a/fs/reiserfs/objectid.c
+++ b/fs/reiserfs/objectid.c
@@ -89,7 +89,7 @@ __u32 reiserfs_get_unused_objectid(struct reiserfs_transaction_handle *th)
set_sb_oid_cursize(rs, sb_oid_cursize(rs) - 2);
}
- journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s));
+ journal_mark_dirty(th, SB_BUFFER_WITH_SB(s));
return unused_objectid;
}
@@ -107,7 +107,7 @@ void reiserfs_release_objectid(struct reiserfs_transaction_handle *th,
check_objectid_map(s, map);
reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1);
- journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s));
+ journal_mark_dirty(th, SB_BUFFER_WITH_SB(s));
/*
* start at the beginning of the objectid map (i = 0) and go to