OSDN Git Service

fs/ntfs3: Fix insertion of attr in ni_ins_attr_ext
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 8 Sep 2021 15:39:53 +0000 (18:39 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 21 Sep 2021 15:36:40 +0000 (18:36 +0300)
commitee9d4810aab95208541d2807f9d114f1d5edcee0
tree26a3bf3fa2d2d3e5ecdf9f8c4c9c3a9f8660d1e9
parent880301bb313295a65523e79bc5666f5cf49eb3ed
fs/ntfs3: Fix insertion of attr in ni_ins_attr_ext

Do not try to insert attribute if there is no room in record.

Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/frecord.c