Thread (1 message) 1 message, 1 author, 2013-12-12

Re: [PATCH 04/18] fs: add generic xattr_acl handlers

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

Possibly related (same subject, not in this thread)

Christoph,
+static int
+posix_acl_xattr_set(struct dentry *dentry, const char *name,
+		const void *value, size_t size, int flags, int type)
+{
+	struct inode *inode = dentry->d_inode;
+	struct posix_acl *acl = NULL;
+	int ret;
+
+	if (!IS_POSIXACL(inode))
+		return -EOPNOTSUPP;
+	if (S_ISLNK(inode->i_mode) || !inode->i_op->set_acl)
+		return -EOPNOTSUPP;
Sama here, I would remove the S_ISLNK() check.

Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help