posix_acl: fix reference leaks in posix_acl_create
authorOmar Sandoval <[email protected]>
Mon, 9 Feb 2015 05:45:25 +0000 (21:45 -0800)
committerAl Viro <[email protected]>
Fri, 20 Feb 2015 09:56:45 +0000 (04:56 -0500)
commitfed0b588be2f55822013808a2968c228258d921b
tree9d7a658a615c08c104a1566620379c21f8d1a7d3
parent76bf3f6b1d6ac4c770bb121b0461c460aa068e64
posix_acl: fix reference leaks in posix_acl_create

get_acl gets a reference which we must release in the error cases.

Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Al Viro <[email protected]>
fs/posix_acl.c