]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't reserve data with extents locked in btrfs_fallocate
authorChris Mason <chris.mason@oracle.com>
Wed, 1 Feb 2012 01:27:41 +0000 (20:27 -0500)
committerChris Mason <chris.mason@oracle.com>
Wed, 1 Feb 2012 01:27:41 +0000 (20:27 -0500)
commita86775105c0c607fe657b72d4baefa639a44159a
tree7cf01b839f68a612b8d612e7eb6315955f792d73
parentd3c792c9706677b5b57d346dbdd852ab049f1614
Btrfs: don't reserve data with extents locked in btrfs_fallocate

btrfs_fallocate tries to allocate space only if ranges in the file don't
already exist.  But the enospc checks it does are not allowed with
extents locked.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c