diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-12-26 10:05:49 -0500 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2011-01-10 00:37:54 -0500 |
commit | bcbc8c648d6cc88f771435d8031c1a13e00945ed (patch) | |
tree | f74a2e7fffb5669823066f8fb875fff535ab8529 /fs/nilfs2/nilfs.h | |
parent | 06df0f999247a3153c3ec284c7ada36ef785eb97 (diff) |
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/nilfs.h')
-rw-r--r-- | fs/nilfs2/nilfs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/nilfs2/nilfs.h b/fs/nilfs2/nilfs.h index a0e21363e865..981183d01250 100644 --- a/fs/nilfs2/nilfs.h +++ b/fs/nilfs2/nilfs.h | |||
@@ -257,11 +257,9 @@ extern void nilfs_truncate(struct inode *); | |||
257 | extern void nilfs_evict_inode(struct inode *); | 257 | extern void nilfs_evict_inode(struct inode *); |
258 | extern int nilfs_setattr(struct dentry *, struct iattr *); | 258 | extern int nilfs_setattr(struct dentry *, struct iattr *); |
259 | int nilfs_permission(struct inode *inode, int mask, unsigned int flags); | 259 | int nilfs_permission(struct inode *inode, int mask, unsigned int flags); |
260 | extern int nilfs_load_inode_block(struct nilfs_sb_info *, struct inode *, | 260 | int nilfs_load_inode_block(struct inode *inode, struct buffer_head **pbh); |
261 | struct buffer_head **); | ||
262 | extern int nilfs_inode_dirty(struct inode *); | 261 | extern int nilfs_inode_dirty(struct inode *); |
263 | extern int nilfs_set_file_dirty(struct nilfs_sb_info *, struct inode *, | 262 | int nilfs_set_file_dirty(struct inode *inode, unsigned nr_dirty); |
264 | unsigned); | ||
265 | extern int nilfs_mark_inode_dirty(struct inode *); | 263 | extern int nilfs_mark_inode_dirty(struct inode *); |
266 | extern void nilfs_dirty_inode(struct inode *); | 264 | extern void nilfs_dirty_inode(struct inode *); |
267 | int nilfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, | 265 | int nilfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, |