summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/Kconfig
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-08-26 13:45:53 -0400
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:16:31 -0400
commit726551ebc79c0a41f66376463ebe8c84c89c1151 (patch)
tree5ecb08aeceb613806216b96b983bb12b3c31500b /fs/btrfs/Kconfig
parent23fa76b0ba78b7d84708d9ee683587d8a5bbceef (diff)
downloadlinux-726551ebc79c0a41f66376463ebe8c84c89c1151.tar.gz
linux-726551ebc79c0a41f66376463ebe8c84c89c1151.tar.bz2
linux-726551ebc79c0a41f66376463ebe8c84c89c1151.zip
Btrfs: adjust the fs_devices->missing count on unmount
I noticed that if I tried to mount a file system with -o degraded after having done it once already we would fail to mount. This is because the fs_devices->missing count was getting bumped everytime we mounted, but not getting reset whenever we unmounted. To fix this we just drop the missing count as we're closing devices to make sure this doesn't happen. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/Kconfig')
0 files changed, 0 insertions, 0 deletions