summaryrefslogtreecommitdiffstats
path: root/fs/autofs
diff options
context:
space:
mode:
authorYan Zheng <zheng.yan@oracle.com>2009-06-28 03:07:35 +0200
committerChris Mason <chris.mason@oracle.com>2009-07-02 19:41:17 +0200
commit2c47e605a91dde6b0514f689645e7ab336c8592a (patch)
treed541e61440f06f37d17e2d14cbaa78fc0cd41ff2 /fs/autofs
parentBtrfs: account for space we may use in fallocate (diff)
downloadlinux-2c47e605a91dde6b0514f689645e7ab336c8592a.tar.xz
linux-2c47e605a91dde6b0514f689645e7ab336c8592a.zip
Btrfs: update backrefs while dropping snapshot
The new backref format has restriction on type of backref item. If a tree block isn't referenced by its owner tree, full backrefs must be used for the pointers in it. When a tree block loses its owner tree's reference, backrefs for the pointers in it should be updated to full backrefs. Current btrfs_drop_snapshot misses the code that updates backrefs, so it's unsafe for general use. This patch adds backrefs update code to btrfs_drop_snapshot. It isn't a problem in the restricted form btrfs_drop_snapshot is used today, but for general snapshot deletion this update is required. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions