fs/ntfs3: Refactor ni_try_remove_attr_list function

Now we save a copy of primary record for restoration.
Also now we remove all attributes from subrecords.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2022-05-12 12:25:48 +03:00
commit 19d1b7872d
No known key found for this signature in database
GPG key ID: A9B0331F832407B6
2 changed files with 39 additions and 15 deletions