projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a7af63
)
nilfs2: deleted inconsistent comment in nilfs_load_inode_block()
author
Jiro SEKIBA
<jir@unicus.jp>
Sun, 15 Nov 2009 04:49:45 +0000
(13:49 +0900)
committer
Ryusuke Konishi
<konishi.ryusuke@lab.ntt.co.jp>
Sun, 15 Nov 2009 08:17:46 +0000
(17:17 +0900)
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>
fs/nilfs2/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nilfs2/inode.c
b/fs/nilfs2/inode.c
index 5040220c3732866ad2f9bd7b4c79a81ee8c5883f..2a0a5a3ac1346826b6f1c7ca668a5859b16a00dc 100644
(file)
--- 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,