Home
last modified time | relevance | path

Searched hist:bb289b7b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dsuper.cbb289b7b Mon May 18 04:16:29 CDT 2015 Omar Sandoval <osandov@osandov.com> Btrfs: fail on mismatched subvol and subvolid mount options

There's nothing to stop a user from passing both subvol= and subvolid=
to mount, but if they don't refer to the same subvolume, someone is
going to be surprised at some point. Error out on this case, but allow
users to pass in both if they do match (which they could, for example,
get out of /proc/mounts).

Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Chris Mason <clm@fb.com>