diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-07-16 14:38:01 +0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-08-19 19:52:10 +0400 |
commit | 3a7d55c84c76a3088ddfb798c187182143683a16 (patch) | |
tree | aa8207c5030d654a2897e7363a6d4a2e7bd6a1d6 /fs/btrfs/lzo.c | |
parent | 69611ac810af8e88eeb5ebd851589a0e8cc90860 (diff) | |
download | linux-3a7d55c84c76a3088ddfb798c187182143683a16.tar.xz |
Btrfs: fix wrong missing device counter decrease
The missing devices are accounted by its own fs device, for example
the missing devices in seed filesystem will be accounted by the fs device
of the seed filesystem, not by the new filesystem which is based on
the seed filesystem, so when we remove the missing device in the
seed filesystem, we should decrease the counter of its own fs device.
Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/lzo.c')
0 files changed, 0 insertions, 0 deletions