Thread (26 messages) 26 messages, 4 authors, 2013-12-12

Re: [PATCH 05/18] fs: make posix_acl_chmod more useful

From: Andreas Gruenbacher <hidden>
Date: 2013-12-12 19:07:20
Also in: linux-btrfs, linux-f2fs-devel, linux-fsdevel, linux-nfs, linux-xfs

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help