]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: remove outdated frag information
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 18 Sep 2013 01:29:07 +0000 (09:29 +0800)
committerSage Weil <sage@inktank.com>
Mon, 30 Sep 2013 21:49:28 +0000 (14:49 -0700)
commit99383c3d81ec90beb61fbda08e32f38c86e0d44f
tree738e4d7cb8615846e6b4406661a5e3b1453f6e45
parent30281b52fff8154a0ed76c11dcaae0824db5c002
ceph: remove outdated frag information

If directory fragments change, fill_inode() inserts new frags into
the fragtree, but it does not remove outdated frags from the fragtree.
This patch fixes it.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/inode.c