diff options
author | Yan Zheng <zheng.yan@oracle.com> | 2009-06-11 08:51:10 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-06-11 08:51:34 -0400 |
commit | 85d4198e40c289dd623cecd16601fa613559bed7 (patch) | |
tree | 8f76a9567063bded47b69f2f39d557307cdf5b54 /fs/btrfs/super.c | |
parent | fd0fb038d5a308c7faddd1701be5e70aaffec98b (diff) |
Btrfs: check duplicate backrefs for both data and metadata
lookup_inline_extent_backref only checks for duplicate backref for data
extents. It assumes backrefs for tree block never conflict.
This patch makes lookup_inline_extent_backref check for duplicate backrefs
for both data and tree block, so that we can detect potential bug earlier.
This is a safety check, strictly speaking it is not required.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions