Btrfs: use mnt_want_write_file instead of mnt_want_write
authorLiu Bo <liubo2009@cn.fujitsu.com>
Fri, 29 Jun 2012 09:58:48 +0000 (03:58 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 20:27:57 +0000 (16:27 -0400)
commite54bfa31044d602a57d4e190f6d1c3763ea76bfe
tree5274bf7cf782bbcaeab1505c51f4eb5d58a20448
parent768e9dfe820abdcfb6683e05c60b8634f1a4ffce
Btrfs: use mnt_want_write_file instead of mnt_want_write

mnt_want_write_file is faster when file has been opened for write.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
fs/btrfs/ioctl.c