ceph: use common helper for aborted dir request invalidation
authorSage Weil <sage@newdream.net>
Fri, 14 May 2010 17:02:57 +0000 (10:02 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:40 +0000 (15:25 -0700)
commit167c9e352deb7e25568c926c49c3eafad69cbe76
treeb420c256e60accca30704059ab676e878cf49603
parent85792d0dd6e7a7a18fba55c97e49871211b28fe0
ceph: use common helper for aborted dir request invalidation

We invalidate I_COMPLETE and dentry leases in two places: on aborted mds
request and on request replay.  Use common helper to avoid duplicate code.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/inode.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h