]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fix nossd and ssd_spread mount option regression
authorEric Sandeen <sandeen@redhat.com>
Fri, 27 Jun 2014 21:50:31 +0000 (16:50 -0500)
committerChris Mason <clm@fb.com>
Thu, 3 Jul 2014 14:04:06 +0000 (07:04 -0700)
commitc0b219219caef86162cfd82db8beebef1098d6b6
tree619b71c486c3c5097cb682a4c3553f7954287766
parentf246f53b91c2797791379a2b673d01e384c4b416
btrfs: fix nossd and ssd_spread mount option regression

The commit

6be1e5c btrfs: Cleanup the btrfs_parse_options for remount.

broke ssd options quite badly; it stopped making ssd_spread
imply ssd, and it made "nossd" unsettable.

Put things back at least as well as they were before
(though ssd mount option handling is still pretty odd:
# mount -o "nossd,ssd_spread" works?)

Reported-by: Roman Mamedov <rm@romanrm.net>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/super.c