aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_jbd2.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-07-22 20:37:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-07-22 20:37:31 -0400
commitb50924c2c606eccfe0caef39beb0929dfa9a1a81 (patch)
tree592f793fcc78af55b4dfc12d961653795c24e310 /fs/ext4/ext4_jbd2.h
parent4d47603d9703e6fff8ff2618bc108d6280e2439d (diff)
ext4: remove unnecessary argument from __ext4_handle_dirty_metadata()
The '__ext4_handle_dirty_metadata()' does not need the 'now' argument anymore and we can kill it. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/ext4_jbd2.h')
-rw-r--r--fs/ext4/ext4_jbd2.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
index 1393c8304116..56d258c18303 100644
--- a/fs/ext4/ext4_jbd2.h
+++ b/fs/ext4/ext4_jbd2.h
@@ -219,8 +219,7 @@ int __ext4_handle_dirty_metadata(const char *where, unsigned int line,
219 struct buffer_head *bh); 219 struct buffer_head *bh);
220 220
221int __ext4_handle_dirty_super(const char *where, unsigned int line, 221int __ext4_handle_dirty_super(const char *where, unsigned int line,
222 handle_t *handle, struct super_block *sb, 222 handle_t *handle, struct super_block *sb);
223 int now);
224 223
225#define ext4_journal_get_write_access(handle, bh) \ 224#define ext4_journal_get_write_access(handle, bh) \
226 __ext4_journal_get_write_access(__func__, __LINE__, (handle), (bh)) 225 __ext4_journal_get_write_access(__func__, __LINE__, (handle), (bh))
@@ -232,10 +231,8 @@ int __ext4_handle_dirty_super(const char *where, unsigned int line,
232#define ext4_handle_dirty_metadata(handle, inode, bh) \ 231#define ext4_handle_dirty_metadata(handle, inode, bh) \
233 __ext4_handle_dirty_metadata(__func__, __LINE__, (handle), (inode), \ 232 __ext4_handle_dirty_metadata(__func__, __LINE__, (handle), (inode), \
234 (bh)) 233 (bh))
235#define ext4_handle_dirty_super_now(handle, sb) \
236 __ext4_handle_dirty_super(__func__, __LINE__, (handle), (sb), 1)
237#define ext4_handle_dirty_super(handle, sb) \ 234#define ext4_handle_dirty_super(handle, sb) \
238 __ext4_handle_dirty_super(__func__, __LINE__, (handle), (sb), 0) 235 __ext4_handle_dirty_super(__func__, __LINE__, (handle), (sb))
239 236
240handle_t *ext4_journal_start_sb(struct super_block *sb, int nblocks); 237handle_t *ext4_journal_start_sb(struct super_block *sb, int nblocks);
241int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle); 238int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle);