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)
commit53e879a485f9def0e55c404dbc7187470a01602d
tree738e4d7cb8615846e6b4406661a5e3b1453f6e45
parentffc79664d15841025d90afdd902c4112ffe168d6
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