]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Fix ntfs_look_for_free_space() does only report -ENOSPC
authorKari Argillander <kari.argillander@gmail.com>
Tue, 7 Sep 2021 14:28:39 +0000 (17:28 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 16 Sep 2021 14:01:36 +0000 (17:01 +0300)
commit86f09ad2aeda0fca35e89016763e2560126578c3
tree7f08d2f943a61a0661aca14fe932ef6c75d2b5dc
parentc5279bcca2a90cb126088a2ee053e9da0271ce1a
fs/ntfs3: Fix ntfs_look_for_free_space() does only report -ENOSPC

If ntfs_refresh_zone() returns error it will be changed to -ENOSPC. It
is not right. Also caller of this functions also check other errors.

Fixes: fdddf4b49f61 ("fs/ntfs3: Rework file operations")
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/fsntfs.c