]> 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)
commit5703f1852c49b858d39f84c99e90a0e1d7df9405
treefed48baeabcb6cc02e6181db5c6475ba2a7ab292
parentf3bb48aa74de7773afebae2b269d87c46a3fe120
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