From 9f03132630c8839a1e8b0978593cad6a6179e623 Mon Sep 17 00:00:00 2001 From: James Hogan Date: Wed, 27 Mar 2013 10:47:12 +0000 Subject: [PATCH] hostfs: remove "will unlock" comment A "will unlock" comment was added to hostfs in the following commit, along with a spinlock: Commit c33b41f97d079865036302d6d22551d1b1f2e897 ("hostfs: fix races in dentry_name() and inode_name()"). But the spinlock was subsequently removed in the following commit: Commit fe6b8b96f92a84f62411cbd2382b8eacb6ef61bf ("hostfs: simplify locking"). Since the comment is no longer applicable, remove it. Reported-by: Al Viro Signed-off-by: James Hogan Cc: Nick Piggin Signed-off-by: Al Viro --- fs/hostfs/hostfs_kern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 0f6e52d22b842..95b9c87cb24a3 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c @@ -121,7 +121,7 @@ static char *dentry_name(struct dentry *dentry) if (!name) return NULL; - return __dentry_name(dentry, name); /* will unlock */ + return __dentry_name(dentry, name); } static char *inode_name(struct inode *ino) -- 2.39.5