]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix fallocate regression
authorJosef Bacik <josef@redhat.com>
Mon, 7 Jun 2010 18:26:37 +0000 (18:26 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Jun 2010 15:46:12 +0000 (11:46 -0400)
commitb94de6ffc557324a82113687e4235ddc5895b889
tree72481501a21cfa6494e0b9bba89e3a8f783e2074
parent91467061c12f00fc1804613798ba8226cc98d417
Btrfs: fix fallocate regression

Seems that when btrfs_fallocate was converted to use the new ENOSPC stuff we
dropped passing the mode to the function that actually does the preallocation.
This breaks anybody who wants to use FALLOC_FL_KEEP_SIZE.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c