staging/lustre/xattr: xattr data may be gone with lock held
authorLai Siyao <lai.siyao@intel.com>
Thu, 26 Mar 2015 01:53:26 +0000 (21:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 10:11:44 +0000 (11:11 +0100)
commitd6abc59ec8440cf3677a54d6fb12afbd20f70821
tree9f9508ee35566b18228c3c546114abb5e55797de
parent3ce08cd7a281e11d83ac3f92832522cf4a2f549c
staging/lustre/xattr: xattr data may be gone with lock held

Xattr cached data may be gone, but lock still held, in this case,
refetch xattr from server, otherwise client will return error.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-on: http://review.whamcloud.com/12952
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3544
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/xattr_cache.c