]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit836097797236fd727f82ec2f3f376ac41a430876
tree72481501a21cfa6494e0b9bba89e3a8f783e2074
parent4a001071d3549f596c7c3736c5dda8a3a4aba9ed
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