All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 11:51 ` Liuwenyi
  0 siblings, 0 replies; 15+ messages in thread
From: Liuwenyi @ 2009-12-21 11:51 UTC (permalink / raw)
  To: chris.mason, viro, joel.becker, cjb, jmorris, serue, hch, akpm,
	adilger, jack, tytso, dwmw2, swhiteho, bfields, neilb, ffilzlnx,
	bharrosh, mfasheh, tiger.yang, jeffm, aelder, sandeen,
	xfs-masters, xfs, reiserfs-devel, ocfs2-devel, linux-nfs,
	linux-ext4, linux-btrfs, linux-fsdevel, linux-kernel,
	cluster-devel, linux-mtd, strongzgy, onlyflyer

Hi all:
This patch is moving the acl check(Null pointer and PTR_ERR) into
fs/posix_acl.c.

Thanks for Matthew Wilcox's sguuestion.

---
Signed-off-by: Liuwenyi <qingshenlwy@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Joel Becker <joel.becker@oracle.com>
Cc: Chris Ball <cjb@laptop.org>
Cc: James Morris <jmorris@namei.org>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andreas Dilger <adilger@sun.com>
Cc: Jan Kara <jack@suse.cz>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: J. Bruce Fields <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>
Cc: Frank Filz <ffilzlnx@us.ibm.com>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Tiger Yang <tiger.yang@oracle.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Alex Elder <aelder@sgi.com>
Cc: Eric Sandeen <sandeen@sandeen.net>
Cc: xfs-masters@oss.sgi.com
Cc: xfs@oss.sgi.com
Cc: reiserfs-devel@vger.kernel.org
Cc: ocfs2-devel@oss.oracle.com
Cc: linux-nfs@vger.kernel.org
Cc: linux-ext4@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: cluster-devel@redhat.com
Cc: linux-mtd@lists.infradead.org

-- 
Best Regards,
Liuwenyi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 11:51 ` Liuwenyi
  0 siblings, 0 replies; 15+ messages in thread
From: Liuwenyi @ 2009-12-21 11:51 UTC (permalink / raw)
  To: chris.mason, viro, joel.becker, cjb, jmorris, serue, hch, akpm,
	adilger, jack, tytso, dwmw2, swhiteho, bfields, neilb, ffilzlnx,
	bharrosh, mfasheh, tiger.yang, jeffm, aelder, sandeen,
	xfs-masters, xfs, reiserfs-devel, ocfs2-devel, linux-nfs,
	linux-ext4, linux-btrfs, linux-fsdevel, linux-kernel,
	cluster-devel, linux-mtd, strongzgy, onlyflyer

Hi all:
This patch is moving the acl check(Null pointer and PTR_ERR) into
fs/posix_acl.c.

Thanks for Matthew Wilcox's sguuestion.

---
Signed-off-by: Liuwenyi <qingshenlwy@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Joel Becker <joel.becker@oracle.com>
Cc: Chris Ball <cjb@laptop.org>
Cc: James Morris <jmorris@namei.org>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andreas Dilger <adilger@sun.com>
Cc: Jan Kara <jack@suse.cz>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: J. Bruce Fields <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>
Cc: Frank Filz <ffilzlnx@us.ibm.com>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Tiger Yang <tiger.yang@oracle.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Alex Elder <aelder@sgi.com>
Cc: Eric Sandeen <sandeen@sandeen.net>
Cc: xfs-masters@oss.sgi.com
Cc: xfs@oss.sgi.com
Cc: reiserfs-devel@vger.kernel.org
Cc: ocfs2-devel@oss.oracle.com
Cc: linux-nfs@vger.kernel.org
Cc: linux-ext4@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: cluster-devel@redhat.com
Cc: linux-mtd@lists.infradead.org

-- 
Best Regards,
Liuwenyi

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Cluster-devel] [PATCHv2 00/12]posix_acl: Add the check items
  2009-12-21 11:51 ` Liuwenyi
  (?)
@ 2009-12-21 12:36   ` Christoph Hellwig
  -1 siblings, 0 replies; 15+ messages in thread
From: Christoph Hellwig @ 2009-12-21 12:36 UTC (permalink / raw)
  To: cluster-devel.redhat.com

I like taking these checks into posix_acl_valid, but I think the patch
submission needs a bit more work.

All the patches are extremly whitespace mangled.  And I don't think
splitting them up makes a whole lot of sense, when we do API changes
like this we usually fix up all callers.  So please try to fix your
mailer, merged them all into one, and maybe also chose a more
descriptive subject line, e.g.

Subject: take checks for NULL and error pointers into posix_acl_valid()


And btw, at least the XFS change seems incorrect - previously we
returned NULL acl pointer and this patch changes it to -EINVAL.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
  2009-12-21 11:51 ` Liuwenyi
@ 2009-12-21 12:36   ` Christoph Hellwig
  -1 siblings, 0 replies; 15+ messages in thread
From: Christoph Hellwig @ 2009-12-21 12:36 UTC (permalink / raw)
  To: Liuwenyi
  Cc: adilger, jack, neilb, jeffm, bfields, linux-mtd, onlyflyer, hch,
	tiger.yang, strongzgy, ffilzlnx, sandeen, jmorris, cluster-devel,
	aelder, cjb, bharrosh, reiserfs-devel, xfs, xfs-masters, viro,
	chris.mason, linux-nfs, linux-ext4, tytso, akpm, linux-kernel,
	linux-btrfs, linux-fsdevel, serue, dwmw2, ocfs2-devel

I like taking these checks into posix_acl_valid, but I think the patch
submission needs a bit more work.

All the patches are extremly whitespace mangled.  And I don't think
splitting them up makes a whole lot of sense, when we do API changes
like this we usually fix up all callers.  So please try to fix your
mailer, merged them all into one, and maybe also chose a more
descriptive subject line, e.g.

Subject: take checks for NULL and error pointers into posix_acl_valid()


And btw, at least the XFS change seems incorrect - previously we
returned NULL acl pointer and this patch changes it to -EINVAL.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
  2009-12-21 11:51 ` Liuwenyi
@ 2009-12-21 12:36   ` Christoph Hellwig
  -1 siblings, 0 replies; 15+ messages in thread
From: Christoph Hellwig @ 2009-12-21 12:36 UTC (permalink / raw)
  To: Liuwenyi
  Cc: adilger, jack, neilb, jeffm, joel.becker, bfields, linux-mtd,
	onlyflyer, hch, tiger.yang, strongzgy, ffilzlnx, sandeen, jmorris,
	cluster-devel, aelder, cjb, mfasheh, bharrosh, reiserfs-devel,
	xfs, xfs-masters, viro, swhiteho, chris.mason, linux-nfs,
	linux-ext4, tytso, akpm, linux-kernel, linux-btrfs, linux-fsdevel,
	serue, dwmw2, ocfs2-devel

I like taking these checks into posix_acl_valid, but I think the patch
submission needs a bit more work.

All the patches are extremly whitespace mangled.  And I don't think
splitting them up makes a whole lot of sense, when we do API changes
like this we usually fix up all callers.  So please try to fix your
mailer, merged them all into one, and maybe also chose a more
descriptive subject line, e.g.

Subject: take checks for NULL and error pointers into posix_acl_valid()


And btw, at least the XFS change seems incorrect - previously we
returned NULL acl pointer and this patch changes it to -EINVAL.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 12:36   ` Christoph Hellwig
  0 siblings, 0 replies; 15+ messages in thread
From: Christoph Hellwig @ 2009-12-21 12:36 UTC (permalink / raw)
  To: Liuwenyi
  Cc: adilger, jack, neilb, jeffm, joel.becker, bfields, linux-mtd,
	onlyflyer, hch, tiger.yang, strongzgy, ffilzlnx, sandeen, jmorris,
	cluster-devel, aelder, cjb, mfasheh, bharrosh, reiserfs-devel,
	xfs, xfs-masters, viro, swhiteho, chris.mason, linux-nfs,
	linux-ext4, tytso, akpm, linux-kernel, linux-btrfs, linux-fsdevel,
	serue, dwmw2, ocfs2-devel

I like taking these checks into posix_acl_valid, but I think the patch
submission needs a bit more work.

All the patches are extremly whitespace mangled.  And I don't think
splitting them up makes a whole lot of sense, when we do API changes
like this we usually fix up all callers.  So please try to fix your
mailer, merged them all into one, and maybe also chose a more
descriptive subject line, e.g.

Subject: take checks for NULL and error pointers into posix_acl_valid()


And btw, at least the XFS change seems incorrect - previously we
returned NULL acl pointer and this patch changes it to -EINVAL.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 12:36   ` Christoph Hellwig
  0 siblings, 0 replies; 15+ messages in thread
From: Christoph Hellwig @ 2009-12-21 12:36 UTC (permalink / raw)
  To: Liuwenyi
  Cc: adilger, jack, neilb, jeffm, bfields, linux-mtd, onlyflyer, hch,
	tiger.yang, strongzgy, ffilzlnx, sandeen, jmorris, cluster-devel,
	aelder, cjb, bharrosh, reiserfs-devel, xfs, xfs-masters, viro,
	chris.mason, linux-nfs, linux-ext4, tytso, akpm, linux-kernel,
	linux-btrfs, linux-fsdevel, serue, dwmw2, ocfs2-devel

I like taking these checks into posix_acl_valid, but I think the patch
submission needs a bit more work.

All the patches are extremly whitespace mangled.  And I don't think
splitting them up makes a whole lot of sense, when we do API changes
like this we usually fix up all callers.  So please try to fix your
mailer, merged them all into one, and maybe also chose a more
descriptive subject line, e.g.

Subject: take checks for NULL and error pointers into posix_acl_valid()


And btw, at least the XFS change seems incorrect - previously we
returned NULL acl pointer and this patch changes it to -EINVAL.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 12:36   ` Christoph Hellwig
  0 siblings, 0 replies; 15+ messages in thread
From: Christoph Hellwig @ 2009-12-21 12:36 UTC (permalink / raw)
  To: Liuwenyi
  Cc: adilger, jack, neilb, jeffm, joel.becker, bfields, linux-mtd,
	onlyflyer, hch, tiger.yang, strongzgy, ffilzlnx, sandeen, jmorris,
	cluster-devel, aelder, cjb, mfasheh, bharrosh, reiserfs-devel,
	xfs, xfs-masters, viro, swhiteho, chris.mason, linux-nfs,
	linux-ext4, tytso, akpm, linux-kernel, linux-btrfs, linux-fsdevel,
	serue, dwmw2, ocfs2-devel

I like taking these checks into posix_acl_valid, but I think the patch
submission needs a bit more work.

All the patches are extremly whitespace mangled.  And I don't think
splitting them up makes a whole lot of sense, when we do API changes
like this we usually fix up all callers.  So please try to fix your
mailer, merged them all into one, and maybe also chose a more
descriptive subject line, e.g.

Subject: take checks for NULL and error pointers into posix_acl_valid()


And btw, at least the XFS change seems incorrect - previously we
returned NULL acl pointer and this patch changes it to -EINVAL.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 12:36   ` Christoph Hellwig
  0 siblings, 0 replies; 15+ messages in thread
From: Christoph Hellwig @ 2009-12-21 12:37 UTC (permalink / raw)
  To: Liuwenyi; +Cc: linux-fsdevel, linux-kernel

I like taking these checks into posix_acl_valid, but I think the patch
submission needs a bit more work.

All the patches are extremly whitespace mangled.  And I don't think
splitting them up makes a whole lot of sense, when we do API changes
like this we usually fix up all callers.  So please try to fix your
mailer, merged them all into one, and maybe also chose a more
descriptive subject line, e.g.

Subject: take checks for NULL and error pointers into posix_acl_valid()


And btw, at least the XFS change seems incorrect - previously we
returned NULL acl pointer and this patch changes it to -EINVAL.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
  2009-12-21 12:36   ` Christoph Hellwig
                       ` (3 preceding siblings ...)
  (?)
@ 2009-12-21 14:15     ` liu weni
  -1 siblings, 0 replies; 15+ messages in thread
From: liu weni @ 2009-12-21 14:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: chris.mason, viro, joel.becker, cjb, jmorris, serue, akpm,
	adilger, jack, tytso, dwmw2, swhiteho, bfields, neilb, ffilzlnx,
	bharrosh, mfasheh, tiger.yang, jeffm, aelder, sandeen,
	xfs-masters, xfs, reiserfs-devel, ocfs2-devel, linux-nfs,
	linux-ext4, linux-btrfs, linux-fsdevel, linux-kernel,
	cluster-devel, linux-mtd, strongzgy, onlyflyer

Thanks for your suggestion.

In my opinion the null point is a incorrect state for the acl, then I
return -EINVAL.

I will check this state transition in XFS.

2009/12/21 Christoph Hellwig <hch@lst.de>:
> I like taking these checks into posix_acl_valid, but I think the patc=
h
> submission needs a bit more work.
>
> All the patches are extremly whitespace mangled. =A0And I don't think
> splitting them up makes a whole lot of sense, when we do API changes
> like this we usually fix up all callers. =A0So please try to fix your
> mailer, merged them all into one, and maybe also chose a more
> descriptive subject line, e.g.
>
> Subject: take checks for NULL and error pointers into posix_acl_valid=
()
>
>
> And btw, at least the XFS change seems incorrect - previously we
> returned NULL acl pointer and this patch changes it to -EINVAL.
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 14:15     ` liu weni
  0 siblings, 0 replies; 15+ messages in thread
From: liu weni @ 2009-12-21 14:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: chris.mason, viro, joel.becker, cjb, jmorris, serue, akpm,
	adilger, jack, tytso, dwmw2, swhiteho, bfields, neilb, ffilzlnx,
	bharrosh, mfasheh, tiger.yang, jeffm, aelder, sandeen,
	xfs-masters, xfs, reiserfs-devel, ocfs2-devel, linux-nfs,
	linux-ext4, linux-btrfs, linux-fsdevel, linux-kernel,
	cluster-devel, linux-mtd, strongzgy, onlyflyer

Thanks for your suggestion.

In my opinion the null point is a incorrect state for the acl, then I
return -EINVAL.

I will check this state transition in XFS.

2009/12/21 Christoph Hellwig <hch@lst.de>:
> I like taking these checks into posix_acl_valid, but I think the patch
> submission needs a bit more work.
>
> All the patches are extremly whitespace mangled.  And I don't think
> splitting them up makes a whole lot of sense, when we do API changes
> like this we usually fix up all callers.  So please try to fix your
> mailer, merged them all into one, and maybe also chose a more
> descriptive subject line, e.g.
>
> Subject: take checks for NULL and error pointers into posix_acl_valid()
>
>
> And btw, at least the XFS change seems incorrect - previously we
> returned NULL acl pointer and this patch changes it to -EINVAL.
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 14:15     ` liu weni
  0 siblings, 0 replies; 15+ messages in thread
From: liu weni @ 2009-12-21 14:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: adilger, jack, neilb, jeffm, joel.becker, bfields, linux-mtd,
	onlyflyer, tiger.yang, strongzgy, ffilzlnx, sandeen, jmorris,
	cluster-devel, bharrosh, cjb, mfasheh, aelder, reiserfs-devel,
	xfs, xfs-masters, viro, swhiteho, chris.mason, linux-nfs,
	linux-ext4, tytso, dwmw2, linux-kernel, linux-btrfs,
	linux-fsdevel, serue, akpm, ocfs2-devel

Thanks for your suggestion.

In my opinion the null point is a incorrect state for the acl, then I
return -EINVAL.

I will check this state transition in XFS.

2009/12/21 Christoph Hellwig <hch@lst.de>:
> I like taking these checks into posix_acl_valid, but I think the patch
> submission needs a bit more work.
>
> All the patches are extremly whitespace mangled.  And I don't think
> splitting them up makes a whole lot of sense, when we do API changes
> like this we usually fix up all callers.  So please try to fix your
> mailer, merged them all into one, and maybe also chose a more
> descriptive subject line, e.g.
>
> Subject: take checks for NULL and error pointers into posix_acl_valid()
>
>
> And btw, at least the XFS change seems incorrect - previously we
> returned NULL acl pointer and this patch changes it to -EINVAL.
>
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 14:15     ` liu weni
  0 siblings, 0 replies; 15+ messages in thread
From: liu weni @ 2009-12-21 14:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: adilger, jack, neilb, jeffm, joel.becker, bfields, linux-mtd,
	onlyflyer, tiger.yang, strongzgy, ffilzlnx, sandeen, jmorris,
	cluster-devel, bharrosh, cjb, mfasheh, aelder, reiserfs-devel,
	xfs, xfs-masters, viro, swhiteho, chris.mason, linux-nfs,
	linux-ext4, tytso, dwmw2, linux-kernel, linux-btrfs,
	linux-fsdevel, serue, akpm, ocfs2-devel

Thanks for your suggestion.

In my opinion the null point is a incorrect state for the acl, then I
return -EINVAL.

I will check this state transition in XFS.

2009/12/21 Christoph Hellwig <hch@lst.de>:
> I like taking these checks into posix_acl_valid, but I think the patch
> submission needs a bit more work.
>
> All the patches are extremly whitespace mangled.  And I don't think
> splitting them up makes a whole lot of sense, when we do API changes
> like this we usually fix up all callers.  So please try to fix your
> mailer, merged them all into one, and maybe also chose a more
> descriptive subject line, e.g.
>
> Subject: take checks for NULL and error pointers into posix_acl_valid()
>
>
> And btw, at least the XFS change seems incorrect - previously we
> returned NULL acl pointer and this patch changes it to -EINVAL.
>
>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Ocfs2-devel] [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 14:15     ` liu weni
  0 siblings, 0 replies; 15+ messages in thread
From: liu weni @ 2009-12-21 14:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: chris.mason, viro, joel.becker, cjb, jmorris, serue, akpm,
	adilger, jack, tytso, dwmw2, swhiteho, bfields, neilb, ffilzlnx,
	bharrosh, mfasheh, tiger.yang, jeffm, aelder, sandeen,
	xfs-masters, xfs, reiserfs-devel, ocfs2-devel, linux-nfs,
	linux-ext4, linux-btrfs, linux-fsdevel, linux-kernel,
	cluster-devel, linux-mtd, strongzgy, onlyflyer

Thanks for your suggestion.

In my opinion the null point is a incorrect state for the acl, then I
return -EINVAL.

I will check this state transition in XFS.

2009/12/21 Christoph Hellwig <hch@lst.de>:
> I like taking these checks into posix_acl_valid, but I think the patch
> submission needs a bit more work.
>
> All the patches are extremly whitespace mangled. ?And I don't think
> splitting them up makes a whole lot of sense, when we do API changes
> like this we usually fix up all callers. ?So please try to fix your
> mailer, merged them all into one, and maybe also chose a more
> descriptive subject line, e.g.
>
> Subject: take checks for NULL and error pointers into posix_acl_valid()
>
>
> And btw, at least the XFS change seems incorrect - previously we
> returned NULL acl pointer and this patch changes it to -EINVAL.
>
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCHv2 00/12]posix_acl: Add the check items
@ 2009-12-21 14:15     ` liu weni
  0 siblings, 0 replies; 15+ messages in thread
From: liu weni @ 2009-12-21 14:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: chris.mason, viro, joel.becker, cjb, jmorris, serue, akpm,
	adilger, jack, tytso, dwmw2, swhiteho, bfields, neilb, ffilzlnx,
	bharrosh, mfasheh, tiger.yang, jeffm, aelder, sandeen,
	xfs-masters, xfs, reiserfs-devel, ocfs2-devel, linux-nfs,
	linux-ext4, linux-btrfs, linux-fsdevel, linux-kernel,
	cluster-devel, linux-mtd, strongzgy, onlyflyer

Thanks for your suggestion.

In my opinion the null point is a incorrect state for the acl, then I
return -EINVAL.

I will check this state transition in XFS.

2009/12/21 Christoph Hellwig <hch@lst.de>:
> I like taking these checks into posix_acl_valid, but I think the patch
> submission needs a bit more work.
>
> All the patches are extremly whitespace mangled.  And I don't think
> splitting them up makes a whole lot of sense, when we do API changes
> like this we usually fix up all callers.  So please try to fix your
> mailer, merged them all into one, and maybe also chose a more
> descriptive subject line, e.g.
>
> Subject: take checks for NULL and error pointers into posix_acl_valid()
>
>
> And btw, at least the XFS change seems incorrect - previously we
> returned NULL acl pointer and this patch changes it to -EINVAL.
>
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-12-21 14:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 11:51 [PATCHv2 00/12]posix_acl: Add the check items Liuwenyi
2009-12-21 11:51 ` Liuwenyi
2009-12-21 12:36 ` Christoph Hellwig
2009-12-21 12:36   ` Christoph Hellwig
2009-12-21 12:36 ` [Cluster-devel] " Christoph Hellwig
2009-12-21 12:37   ` Christoph Hellwig
2009-12-21 12:36   ` Christoph Hellwig
2009-12-21 14:15   ` liu weni
2009-12-21 14:15     ` liu weni
2009-12-21 14:15     ` [Ocfs2-devel] " liu weni
2009-12-21 14:15     ` liu weni
2009-12-21 14:15     ` liu weni
2009-12-21 14:15     ` liu weni
2009-12-21 12:36 ` Christoph Hellwig
2009-12-21 12:36   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.