cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Gruenbacher <andreas.gruenbacher@linbit.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 04/18] fs: add generic xattr_acl handlers
Date: Thu, 12 Dec 2013 20:07:54 +0100 (CET)	[thread overview]
Message-ID: <1342716144.69126.1386875274180.JavaMail.zimbra@linbit.com> (raw)
In-Reply-To: <20131211104527.044064384@bombadil.infradead.org>

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



  reply	other threads:[~2013-12-12 19:07 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 10:42 [Cluster-devel] [PATCH 00/18] Consolidate Posix ACL implementation V2 Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 01/18] reiserfs: prefix ACL symbols with reiserfs_ Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 02/18] fs: add get_acl helper Christoph Hellwig
2013-12-12 19:06   ` Andreas Gruenbacher
2013-12-12 21:04     ` Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 03/18] fs: add a set_acl inode operation Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 04/18] fs: add generic xattr_acl handlers Christoph Hellwig
2013-12-12 19:07   ` Andreas Gruenbacher [this message]
2013-12-11 10:42 ` [Cluster-devel] [PATCH 05/18] fs: make posix_acl_chmod more useful Christoph Hellwig
2013-12-12 19:07   ` Andreas Gruenbacher
2013-12-12 21:05     ` Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 06/18] fs: make posix_acl_create " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 07/18] btrfs: use generic posix ACL infrastructure Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 08/18] ext2/3/4: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 09/18] f2fs: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 10/18] hfsplus: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 11/18] jffs2: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 12/18] ocfs2: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 13/18] reiserfs: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 14/18] xfs: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 15/18] jfs: " Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] [PATCH 16/18] gfs2: " Christoph Hellwig
2013-12-11 10:52   ` Steven Whitehouse
2013-12-12 19:08   ` Andreas Gruenbacher
2013-12-12 21:05     ` Christoph Hellwig
2013-12-11 10:43 ` [Cluster-devel] [PATCH 17/18] nfs: use generic posix ACL infrastructure for v3 Posix ACLs Christoph Hellwig
2013-12-11 10:43 ` [Cluster-devel] [PATCH 18/18] fs: remove generic_acl Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2013-12-01 11:59 [Cluster-devel] [PATCH 00/18] Consolidate Posix ACL implementation Christoph Hellwig
2013-12-01 11:59 ` [Cluster-devel] [PATCH 04/18] fs: add generic xattr_acl handlers Christoph Hellwig
2013-12-02 20:59   ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342716144.69126.1386875274180.JavaMail.zimbra@linbit.com \
    --to=andreas.gruenbacher@linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).