+2
−1
Loading
Move lsm_get_xattr_slot() below the SBLABEL_MNT check so we don't leave a NULL-named slot in the array when returning -EOPNOTSUPP; filesystem initxattrs() callbacks stop iterating at the first NULL ->name, silently dropping xattrs installed by later LSMs. Cc: stable@vger.kernel.org Signed-off-by:David Windsor <dwindsor@gmail.com> Signed-off-by:
Paul Moore <paul@paul-moore.com>