Btrfs: do not do filemap_write_and_wait_range in fsync
authorJosef Bacik <josef@redhat.com>
Mon, 23 Apr 2012 19:09:39 +0000 (15:09 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 30 May 2012 14:23:29 +0000 (10:23 -0400)
commit0885ef5b5601e9b007c383e77c172769b1f214fd
tree637186daaaa3201ca534e9981b574e538245e39e
parent551ebb2d34304ee2abfe6b00d39ec65d5e4e8266
Btrfs: do not do filemap_write_and_wait_range in fsync

We already do the btrfs_wait_ordered_range which will do this for us, so
just remove this call so we don't call it twice.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/file.c