Whamcloud - gitweb
LU-10787 llite: correct removexattr detection 94/31594/3
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 8 Mar 2018 19:30:46 +0000 (13:30 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:49:58 +0000 (19:49 +0000)
commit7a9a2e4aeec952169841a84be0679d1d1ed35acf
treecc02bd7151f73453c5fa42a134182c679fe36abf
parent4753bae7f3939ff08e70cf9efc1a26b4bf2d29fe
LU-10787 llite: correct removexattr detection

In ll_xattr_set_common() detect the removexattr() case correctly by
testing for a NULL value as well as XATTR_REPLACE.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I29a29851ad4ac432e257b63088e2d7a7dfc39605
Reviewed-on: https://review.whamcloud.com/31594
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/xattr.c