Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751562AbcCFT7g (ORCPT ); Sun, 6 Mar 2016 14:59:36 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38852 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbcCFT7a (ORCPT ); Sun, 6 Mar 2016 14:59:30 -0500 From: Nicolai Stange To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Nicolai Stange Subject: [PATCH 1/2] debugfs: fix DocBook comment of debugfs_use_file_start() Date: Sun, 6 Mar 2016 20:59:04 +0100 Message-Id: <1457294345-4588-2-git-send-email-nicstange@gmail.com> X-Mailer: git-send-email 2.7.2 In-Reply-To: <1457294345-4588-1-git-send-email-nicstange@gmail.com> References: <1457294345-4588-1-git-send-email-nicstange@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1140 Lines: 30 In commit 055cd38ba671 ("debugfs: prevent access to possibly dead file_operations at file open") debugfs_use_file_start() has been introduced. Unfortunately, the associated DocBook comment hasn't been updated to properly reflect the change of the 'file' argument into 'dentry' during the evolution of the aforementioned patch. Catch up on this and rename '@file' to '@dentry' in the DocBook comment associated with debugfs_use_file_start(). Signed-off-by: Nicolai Stange --- fs/debugfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 1a03e99..6a4b667 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c @@ -50,7 +50,7 @@ const struct file_operations debugfs_noop_file_operations = { /** * debugfs_use_file_start - mark the beginning of file data access - * @file: the file object whose data is being accessed. + * @dentry: the dentry object whose data is being accessed. * @srcu_idx: a pointer to some memory to store a SRCU index in. * * Up to a matching call to debugfs_use_file_finish(), any -- 2.7.2