diff options
author | 2017-09-12 22:42:52 +0900 | |
---|---|---|
committer | 2017-09-26 14:52:25 +0200 | |
commit | 6d6d282932d1a609e60dc4467677e0e863682f57 (patch) | |
tree | 142569afd142892f054790b43311ab8d74e34063 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: send: fix error number for unknown inode types (diff) | |
download | wireguard-linux-6d6d282932d1a609e60dc4467677e0e863682f57.tar.xz wireguard-linux-6d6d282932d1a609e60dc4467677e0e863682f57.zip |
btrfs: prevent to set invalid default subvolid
`btrfs sub set-default` succeeds to set an ID which isn't corresponding to any
fs/file tree. If such the bad ID is set to a filesystem, we can't mount this
filesystem without specifying `subvol` or `subvolid` mount options.
Fixes: 6ef5ed0d386b ("Btrfs: add ioctl and incompat flag to set the default mount subvol")
Cc: <stable@vger.kernel.org>
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Reviewed-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions