From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Gruenbacher Date: Thu, 12 Dec 2013 20:07:20 +0100 (CET) Subject: [Cluster-devel] [PATCH 05/18] fs: make posix_acl_chmod more useful In-Reply-To: <20131211104527.223923019@bombadil.infradead.org> References: <20131211104243.148113893@bombadil.infradead.org> <20131211104527.223923019@bombadil.infradead.org> Message-ID: <389888733.69110.1386875240679.JavaMail.zimbra@linbit.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Christoph, > +int > +posix_acl_chmod(struct inode *inode) > +{ > + struct posix_acl *acl; > + int ret = 0; > + > + if (S_ISLNK(inode->i_mode) || !inode->i_op->set_acl) > + return -EOPNOTSUPP; Symlinks never have get_acl callbacks, so I would remove the S_ISLNK() check here. Andreas