diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-24 21:01:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-24 21:01:20 +0200 |
commit | 9907ab371426da8b3cffa6cc3e4ae54829559207 (patch) | |
tree | daaf317100ca0b5c0e12ac334cc83b0775b147eb /fs/btrfs/disk-io.c | |
parent | Merge tag 'io_uring-5.9-2020-08-23' of git://git.kernel.dk/linux-block (diff) | |
parent | btrfs: detect nocow for swap after snapshot delete (diff) | |
download | linux-9907ab371426da8b3cffa6cc3e4ae54829559207.tar.xz linux-9907ab371426da8b3cffa6cc3e4ae54829559207.zip |
Merge tag 'for-5.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba:
- fix swapfile activation on subvolumes with deleted snapshots
- error value mixup when removing directory entries from tree log
- fix lzo compression level reset after previous level setting
- fix space cache memory leak after transaction abort
- fix const function attribute
- more error handling improvements
* tag 'for-5.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: detect nocow for swap after snapshot delete
btrfs: check the right error variable in btrfs_del_dir_entries_in_log
btrfs: fix space cache memory leak after transaction abort
btrfs: use the correct const function attribute for btrfs_get_num_csums
btrfs: reset compression level for lzo on remount
btrfs: handle errors from async submission
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 9ae25f632157..f6bba7eb1fa1 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -4551,6 +4551,7 @@ static void btrfs_cleanup_bg_io(struct btrfs_block_group *cache) cache->io_ctl.inode = NULL; iput(inode); } + ASSERT(cache->io_ctl.pages == NULL); btrfs_put_block_group(cache); } |