diff options
author | Richard Weinberger <richard@nod.at> | 2018-09-16 23:57:35 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-09-20 21:37:41 +0200 |
commit | f061c1cc404a618858a77aea233fde0aeaad2f2d (patch) | |
tree | 7ac48f3f8f78b182bb1c44e628c9bf690bcd0995 /arch | |
parent | d3bdc016c598e09a4ddf17805d17d43759b0a582 (diff) |
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 'arch')
0 files changed, 0 insertions, 0 deletions