diff options
author | Jiro SEKIBA <jir@unicus.jp> | 2009-11-15 05:49:45 +0100 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-15 09:17:46 +0100 |
commit | 18dafac1a4c6c88867a50f9a82492976f20383d6 (patch) | |
tree | 27800ccab2a98cccc903ed68348de1abc9b18a7d /fs/nilfs2/inode.c | |
parent | nilfs2: deleted struct nilfs_dat_group_desc (diff) | |
download | linux-18dafac1a4c6c88867a50f9a82492976f20383d6.tar.xz linux-18dafac1a4c6c88867a50f9a82492976f20383d6.zip |
nilfs2: deleted inconsistent comment in nilfs_load_inode_block()
The comment says, "Caller of this function MUST lock s_inode_lock",
however just above the comment, it locks s_inode_lock in the function.
Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/inode.c')
-rw-r--r-- | fs/nilfs2/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nilfs2/inode.c b/fs/nilfs2/inode.c index 5040220c3732..2a0a5a3ac134 100644 --- a/fs/nilfs2/inode.c +++ b/fs/nilfs2/inode.c @@ -664,7 +664,6 @@ int nilfs_load_inode_block(struct nilfs_sb_info *sbi, struct inode *inode, int err; spin_lock(&sbi->s_inode_lock); - /* Caller of this function MUST lock s_inode_lock */ if (ii->i_bh == NULL) { spin_unlock(&sbi->s_inode_lock); err = nilfs_ifile_get_inode_block(sbi->s_ifile, inode->i_ino, |