xfs: fix ->mknod() return value on xfs_get_acl() failure
authorAl Viro <viro@ZenIV.linux.org.uk>
Sun, 5 Jun 2011 11:12:31 +0000 (11:12 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 14 Jun 2011 16:02:13 +0000 (11:02 -0500)
commitc46a131c0c0f4c2457e6b1e430c578a5cb057334
tree82a85e1ca871aa1c953f25659c4db8963bf7cc13
parent59c5f46fbe01a00eedf54a23789634438bb80603
xfs: fix ->mknod() return value on xfs_get_acl() failure

->mknod() should return negative on errors and PTR_ERR() gives
already negative value...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c