diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-07-22 20:37:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-07-22 20:37:31 -0400 |
commit | b50924c2c606eccfe0caef39beb0929dfa9a1a81 (patch) | |
tree | 592f793fcc78af55b4dfc12d961653795c24e310 /fs/ext4/namei.c | |
parent | 4d47603d9703e6fff8ff2618bc108d6280e2439d (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/namei.c')
-rw-r--r-- | fs/ext4/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 0edaf18d843e..37faf56e558d 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c | |||
@@ -2397,7 +2397,7 @@ int ext4_orphan_add(handle_t *handle, struct inode *inode) | |||
2397 | /* Insert this inode at the head of the on-disk orphan list... */ | 2397 | /* Insert this inode at the head of the on-disk orphan list... */ |
2398 | NEXT_ORPHAN(inode) = le32_to_cpu(EXT4_SB(sb)->s_es->s_last_orphan); | 2398 | NEXT_ORPHAN(inode) = le32_to_cpu(EXT4_SB(sb)->s_es->s_last_orphan); |
2399 | EXT4_SB(sb)->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); | 2399 | EXT4_SB(sb)->s_es->s_last_orphan = cpu_to_le32(inode->i_ino); |
2400 | err = ext4_handle_dirty_super_now(handle, sb); | 2400 | err = ext4_handle_dirty_super(handle, sb); |
2401 | rc = ext4_mark_iloc_dirty(handle, inode, &iloc); | 2401 | rc = ext4_mark_iloc_dirty(handle, inode, &iloc); |
2402 | if (!err) | 2402 | if (!err) |
2403 | err = rc; | 2403 | err = rc; |
@@ -2470,7 +2470,7 @@ int ext4_orphan_del(handle_t *handle, struct inode *inode) | |||
2470 | if (err) | 2470 | if (err) |
2471 | goto out_brelse; | 2471 | goto out_brelse; |
2472 | sbi->s_es->s_last_orphan = cpu_to_le32(ino_next); | 2472 | sbi->s_es->s_last_orphan = cpu_to_le32(ino_next); |
2473 | err = ext4_handle_dirty_super_now(handle, inode->i_sb); | 2473 | err = ext4_handle_dirty_super(handle, inode->i_sb); |
2474 | } else { | 2474 | } else { |
2475 | struct ext4_iloc iloc2; | 2475 | struct ext4_iloc iloc2; |
2476 | struct inode *i_prev = | 2476 | struct inode *i_prev = |