]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Refactoring attr_punch_hole to restore after errors
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 13 Jul 2022 15:18:48 +0000 (18:18 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 3 Aug 2022 15:25:09 +0000 (18:25 +0300)
commitfa0798791da14ecf230d3049907734c860e8d0e2
treefed48baeabcb6cc02e6181db5c6475ba2a7ab292
parent11349ae1b3fe0608c71e46e42c0b850c1b5bdff0
fs/ntfs3: Refactoring attr_punch_hole to restore after errors

Added comments to code
Added new function run_clone to make a copy of run
Added done and undo labels for restoring after errors

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/attrib.c
fs/ntfs3/ntfs_fs.h
fs/ntfs3/run.c