diff options
author | 2023-09-22 13:07:59 +0300 | |
---|---|---|
committer | 2023-09-28 15:03:59 +0300 | |
commit | 4ad5c924df6cd6d85708fa23f9d9a2b78a2e428e (patch) | |
tree | 54565f94af81d0cacd2d856a72f33a04f565fadb /fs/ntfs3/bitmap.c | |
parent | fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime (diff) | |
download | linux-rng-4ad5c924df6cd6d85708fa23f9d9a2b78a2e428e.tar.xz linux-rng-4ad5c924df6cd6d85708fa23f9d9a2b78a2e428e.zip |
fs/ntfs3: Allow repeated call to ntfs3_put_sbi
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/bitmap.c')
-rw-r--r-- | fs/ntfs3/bitmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ntfs3/bitmap.c b/fs/ntfs3/bitmap.c index d66055e30aff..63f14a0232f6 100644 --- a/fs/ntfs3/bitmap.c +++ b/fs/ntfs3/bitmap.c @@ -125,6 +125,7 @@ void wnd_close(struct wnd_bitmap *wnd) struct rb_node *node, *next; kfree(wnd->free_bits); + wnd->free_bits = NULL; run_close(&wnd->run); node = rb_first(&wnd->start_tree); |