On Sun, Feb 01, 2015 at 11:55:02PM -0800, Omar Sandoval wrote:
> There are already a couple of return paths in posix_acl_create, and
> there are only these two error cases, so I think gotos might actually
> make the code more confusing. In any case, here's an idea:
>
> posix_acl: fix reference lea
On Wed, Jan 28, 2015 at 06:09:52PM +0100, Christoph Hellwig wrote:
> On Mon, Jan 26, 2015 at 10:16:53PM -0800, Omar Sandoval wrote:
> > get_acl gets a reference which we must release in the error cases.
> >
> > Signed-off-by: Omar Sandoval
>
> Looks good, but at this point goto-based unwinding m
On Mon, Jan 26, 2015 at 10:16:53PM -0800, Omar Sandoval wrote:
> get_acl gets a reference which we must release in the error cases.
>
> Signed-off-by: Omar Sandoval
Looks good, but at this point goto-based unwinding might be in order.
--
To unsubscribe from this list: send the line "unsubscribe
get_acl gets a reference which we must release in the error cases.
Signed-off-by: Omar Sandoval
---
fs/posix_acl.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs/posix_acl.c b/fs/posix_acl.c
index 0855f77..f8f3cc2 100644
--- a/fs/posix_acl.c
+++ b/fs/posix_acl.c
@@ -5
4 matches
Mail list logo