summaryrefslogtreecommitdiff
path: root/fs/ubifs/find.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2018-09-16 23:57:35 +0200
committerRichard Weinberger <richard@nod.at>2018-09-20 21:37:41 +0200
commitf061c1cc404a618858a77aea233fde0aeaad2f2d (patch)
tree7ac48f3f8f78b182bb1c44e628c9bf690bcd0995 /fs/ubifs/find.c
parentd3bdc016c598e09a4ddf17805d17d43759b0a582 (diff)
downloadlinux-rt-f061c1cc404a618858a77aea233fde0aeaad2f2d.tar.gz
Revert "ubifs: xattr: Don't operate on deleted inodes"
This reverts commit 11a6fc3dc743e22fb50f2196ec55bee5140d3c52. UBIFS wants to assert that xattr operations are only issued on files with positive link count. The said patch made this operations return -ENOENT for unlinked files such that the asserts will no longer trigger. This was wrong since xattr operations are perfectly fine on unlinked files. Instead the assertions need to be fixed/removed. Cc: <stable@vger.kernel.org> Fixes: 11a6fc3dc743 ("ubifs: xattr: Don't operate on deleted inodes") Reported-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Tested-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/find.c')
0 files changed, 0 insertions, 0 deletions