]> www.infradead.org Git - users/jedix/linux-maple.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>
Fri, 3 Feb 2012 19:15:13 +0000 (14:15 -0500)
commit29bf5a9fa5b03cd746d1a5f9b45499f9e04d2c9e
treeab6b5f3b5920525c858a6fdaeaee79c58934031a
parent8b66a1baa8330d16ae495386b66e0dd92bdb4678
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