commit | a874a63e1389c1daabd5abe4e4faaf9d63daf474 | [log] [tgz] |
---|---|---|
author | Liu Bo <liubo2009@cn.fujitsu.com> | Fri Jun 29 03:58:46 2012 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Jul 23 16:27:56 2012 -0400 |
tree | acf5fe5d438b24592345ec6aa172a15700b4019d | |
parent | 287082b0bd10060e9c6b32ed9605174ddf2f672a [diff] |
Btrfs: check write access to mount earlier while creating snapshots Move check of write access to mount into upper functions so that we can use mnt_want_write_file instead, which is faster than mnt_want_write. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>