Commit 1d7e23f
Revert "ubifs: xattr: Don't operate on deleted inodes"
commit f061c1c upstream.
This reverts commit 11a6fc3.
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: 11a6fc3 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 4438313 commit 1d7e23f
1 file changed
Lines changed: 0 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 155 | | |
162 | 156 | | |
163 | 157 | | |
| |||
189 | 183 | | |
190 | 184 | | |
191 | 185 | | |
192 | | - | |
193 | 186 | | |
194 | 187 | | |
195 | 188 | | |
| |||
241 | 234 | | |
242 | 235 | | |
243 | 236 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | 237 | | |
251 | 238 | | |
252 | 239 | | |
| |||
268 | 255 | | |
269 | 256 | | |
270 | 257 | | |
271 | | - | |
272 | 258 | | |
273 | 259 | | |
274 | 260 | | |
| |||
497 | 483 | | |
498 | 484 | | |
499 | 485 | | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | 486 | | |
507 | 487 | | |
508 | 488 | | |
| |||
522 | 502 | | |
523 | 503 | | |
524 | 504 | | |
525 | | - | |
526 | 505 | | |
527 | 506 | | |
528 | 507 | | |
| |||
562 | 541 | | |
563 | 542 | | |
564 | 543 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | 544 | | |
569 | 545 | | |
570 | 546 | | |
| |||
0 commit comments