Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756741Ab0GMPDW (ORCPT ); Tue, 13 Jul 2010 11:03:22 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:50859 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754713Ab0GMPDU (ORCPT ); Tue, 13 Jul 2010 11:03:20 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=HAdBDlPGv7kM9NxQUgBMTxu147lxGYm+YiBx/7o4v529HZ0glGdhyEPDrRytDqEgRS wqMSy9Yn5rZLiVjg4Z2okwU7hru6wrL4zLilp9qwvh5AE5UfWgFZRxkV/bSNcgFcAlx3 Q7T2xkvcj+M1GqSSmM04ATu8I5sQQRukfJx8A= Message-ID: <4C3C8043.3030700@gmail.com> Date: Tue, 13 Jul 2010 23:03:31 +0800 From: Wang Sheng-Hui User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: kernel-janitors , linux-ext4 , linux-kernel Subject: [PATCH]trivial: clear the comment on parameters for ext2_xattr_set Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 40 Hi, The comment for ext2_xattr_get is confusing for it has no parameter named "buffer". I checked the code and think the description is suitable for the parameter "value". Following patch is against 2.6.35-rc5. Please check it. Signed-off-by: Wang Sheng-Hui --- fs/ext2/xattr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c index 5ecbbd8..f56b599 100644 --- a/fs/ext2/xattr.c +++ b/fs/ext2/xattr.c @@ -355,7 +355,7 @@ static void ext2_xattr_update_super_block(struct super_block *sb) /* * ext2_xattr_set() * - * Create, replace or remove an extended attribute for this inode. Buffer + * Create, replace or remove an extended attribute for this inode. Value * is NULL to remove an existing extended attribute, and non-NULL to * either replace an existing extended attribute, or create a new extended * attribute. The flags XATTR_REPLACE and XATTR_CREATE -- 1.7.1.1 -- Thanks and Regards, shenghui -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/