Btrfs: Invalidate dcache entry after creating snapshot and
authorSven Wegener <sven.wegener@stealer.net>
Tue, 10 Jun 2008 01:57:42 +0000 (21:57 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000 (11:04 -0400)
commit3b96362cc8d314c935c335d5c3c42eb93c23166b
tree6d69302c9589d64ccb76f61b833f1a7151f9c841
parent48ec2cf8738b0db53dc8361026cb7a328f7ad386
Btrfs: Invalidate dcache entry after creating snapshot and

We need to invalidate an existing dcache entry after creating a new
snapshot or subvolume, because a negative dache entry will stop us from
accessing the new snapshot or subvolume.

---
  ctree.h       |   23 +++++++++++++++++++++++
  inode.c       |    4 ++++
  transaction.c |    4 ++++
  3 files changed, 31 insertions(+)

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c
fs/btrfs/transaction.c