diff options
author | liubo <liubo2009@cn.fujitsu.com> | 2011-04-08 08:44:37 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-05-14 16:10:26 -0400 |
commit | 1aba86d67f340a8001d67183ec32e8a62e3ec658 (patch) | |
tree | 8e2a3dc2bceca44c1525f4815b00ef1ae275adad /drivers/net/bfin_mac.c | |
parent | f5de93914983bf04b92a786d1d205286fc53b49b (diff) | |
download | blackbird-op-linux-1aba86d67f340a8001d67183ec32e8a62e3ec658.tar.gz blackbird-op-linux-1aba86d67f340a8001d67183ec32e8a62e3ec658.zip |
Btrfs: fix easily get into ENOSPC in mixed case
When a btrfs disk is created by mixed data & metadata option, it will have no
pure data or pure metadata space info.
In btrfs's for-linus branch, commit 78b1ea13838039cd88afdd62519b40b344d6c920
(Btrfs: fix OOPS of empty filesystem after balance) initializes space infos at
the very beginning. The problem is this initialization does not take the mixed
case into account, which will cause btrfs will easily get into ENOSPC in mixed
case.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'drivers/net/bfin_mac.c')
0 files changed, 0 insertions, 0 deletions