summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorJosef Bacik2016-07-21 01:48:45 +0200
committerChris Mason2016-07-21 01:58:04 +0200
commitbac357dcec2956f01df9da5365be257741b534dc (patch)
treef696c4ea2ce8b51c9fe58f9bd5c6411693f7fc2d /fs/btrfs/inode.c
parentMerge branch 'kdave-part1-enospc' into for-linus-4.8 (diff)
downloadkernel-qcow2-linux-bac357dcec2956f01df9da5365be257741b534dc.tar.gz
kernel-qcow2-linux-bac357dcec2956f01df9da5365be257741b534dc.tar.xz
kernel-qcow2-linux-bac357dcec2956f01df9da5365be257741b534dc.zip
Btrfs: avoid deadlocks during reservations in btrfs_truncate_block
The new enospc code makes it possible to deadlock if we don't use FLUSH_LIMIT during reservations inside a transaction. This enforces the correct flush type to avoid both deadlocks and assertions Signed-off-by: Chris Mason <clm@fb.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions