summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/recovery.c
diff options
context:
space:
mode:
authorRyusuke Konishi2010-12-26 16:05:49 +0100
committerRyusuke Konishi2011-01-10 06:37:54 +0100
commitbcbc8c648d6cc88f771435d8031c1a13e00945ed (patch)
treef74a2e7fffb5669823066f8fb875fff535ab8529 /fs/nilfs2/recovery.c
parentnilfs2: get rid of nilfs_mount_options structure (diff)
downloadkernel-qcow2-linux-bcbc8c648d6cc88f771435d8031c1a13e00945ed.tar.gz
kernel-qcow2-linux-bcbc8c648d6cc88f771435d8031c1a13e00945ed.tar.xz
kernel-qcow2-linux-bcbc8c648d6cc88f771435d8031c1a13e00945ed.zip
nilfs2: do not pass sbi to functions which can get it from inode
This removes argument for passing nilfs_sb_info structure from nilfs_set_file_dirty and nilfs_load_inode_block functions. We can get a pointer to the structure from inodes. [Stephen Rothwell <sfr@canb.auug.org.au>: fix conflict with commit b74c79e99389cd79b31fcc08f82c24e492e63c7e] Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/recovery.c')
-rw-r--r--fs/nilfs2/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/recovery.c b/fs/nilfs2/recovery.c
index 5d2711c28da7..3dfcd3b7d389 100644
--- a/fs/nilfs2/recovery.c
+++ b/fs/nilfs2/recovery.c
@@ -535,7 +535,7 @@ static int nilfs_recover_dsync_blocks(struct the_nilfs *nilfs,
if (unlikely(err))
goto failed_page;
- err = nilfs_set_file_dirty(sbi, inode, 1);
+ err = nilfs_set_file_dirty(inode, 1);
if (unlikely(err))
goto failed_page;