]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda2ce8ae302cad199120a63cdfce580faef16b77
tree82a85e1ca871aa1c953f25659c4db8963bf7cc13
parent143814267b8354f6091bd7d53c4540ea1d7bd73f
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