From: Omar Sandoval Date: Mon, 18 May 2015 09:16:29 +0000 (-0700) Subject: Btrfs: fail on mismatched subvol and subvolid mount options X-Git-Tag: omap-for-v4.2/fixes-rc1^2~69^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb289b7be62db84b9630ce00367444c810cada2c;p=pandora-kernel.git 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 Signed-off-by: Omar Sandoval Signed-off-by: Chris Mason --- Reading git-diff-tree failed