From: "J. Bruce Fields" Subject: [PATCH] vfs: fix out-of-date dentry_unhash() comment Date: Wed, 15 Feb 2012 11:48:40 -0500 Message-ID: <20120215164840.GD12490@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sage Weil , linux-fsdevel@vger.kernel.org To: Al Viro Return-path: Received: from fieldses.org ([174.143.236.118]:36748 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389Ab2BOQsl (ORCPT ); Wed, 15 Feb 2012 11:48:41 -0500 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: "J. Bruce Fields" 64252c75a2196a0cf1e0d3777143ecfe0e3ae650 "vfs: remove dget() from dentry_unhash()" changed the implementation but not the comment. Cc: Sage Weil Signed-off-by: J. Bruce Fields --- fs/namei.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) I stumbled across this comment nit while looking for something else. diff --git a/fs/namei.c b/fs/namei.c index 208c6aa..2dba778 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2598,7 +2598,7 @@ SYSCALL_DEFINE2(mkdir, const char __user *, pathname, umode_t, mode) /* * The dentry_unhash() helper will try to drop the dentry early: we - * should have a usage count of 2 if we're the only user of this + * should have a usage count of 1 if we're the only user of this * dentry, and if that is true (possibly after pruning the dcache), * then we drop the dentry now. * -- 1.7.5.4