Skip to content
Commit a874a63e authored by Liu Bo's avatar Liu Bo Committed by Chris Mason
Browse files

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: default avatarLiu Bo <liubo2009@cn.fujitsu.com>
parent 287082b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment