]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: llite: use xattr_handler name for ACLs
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 16 Apr 2018 04:15:09 +0000 (00:15 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:57:41 +0000 (14:57 +0200)
commit601d36bd1c7713ca4ce4ef46ad9fd0193fb99dc2
treed14bce5370ddc850173447fb27a35e0c399992fa
parent038b110f780a2f22d4bb2d11ee0d20e4d9721d44
staging: lustre: llite: use xattr_handler name for ACLs

If struct xattr_handler has a name member then use it (rather than
prefix) for the ACL xattrs. This avoids a bug where ACL operations
failed for some kernels.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-10785
Reviewed-on: https://review.whamcloud.com/
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/xattr.c