From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.9]:47215 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914AbcHII2A (ORCPT ); Tue, 9 Aug 2016 04:28:00 -0400 Date: Tue, 9 Aug 2016 01:27:56 -0700 From: Christoph Hellwig To: Jan Kara Cc: Al Viro , Miklos Szeredi , xfs@oss.sgi.com, "Yan, Zheng" , linux-fsdevel@vger.kernel.org, Ilya Dryomov , ceph-devel@vger.kernel.org Subject: Re: [PATCH 1/5] xfs: Propagate dentry down to inode_change_ok() Message-ID: <20160809082756.GA11657@infradead.org> References: <1470223689-17783-1-git-send-email-jack@suse.cz> <1470223689-17783-2-git-send-email-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1470223689-17783-2-git-send-email-jack@suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: > +static int > +xfs_vn_change_ok( > + struct dentry *dentry, > + struct iattr *iattr) Please don't use the _vn prefix for something that's not an actual inode operation (and we should do a mess rename to _iop one day as well.) > +int > +xfs_vn_setattr_nonsize( > + struct dentry *dentry, > + struct iattr *iattr) Same here.