lkml.org 
[lkml]   [2012]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] fs/inode.c: fix legacy comment about inode lock
Date
inode_lock has been changed to inode_hash_lock

Signed-off-by: yan <clouds.yan@gmail.com>
---
fs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/inode.c b/fs/inode.c
index ac8d904..a9be0a3 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -778,7 +778,7 @@ void prune_icache_sb(struct super_block *sb, int nr_to_scan)

static void __wait_on_freeing_inode(struct inode *inode);
/*
- * Called with the inode lock held.
+ * Called with the inode_hash_lock held.
*/
static struct inode *find_inode(struct super_block *sb,
struct hlist_head *head,
--
1.7.9.5


\
 
 \ /
  Last update: 2012-08-24 14:21    [W:0.048 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site