ceph: skip if no auth cap in flush_snaps
authorSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 21:21:36 +0000 (14:21 -0700)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 03:11:39 +0000 (20:11 -0700)
commitca81f3f6bd759f90a4b940cddda1f8bc61a7725a
tree77b0f3a45d48303246f26e85b3945916f388805a
parent3b454c4945c756686e91d77eeefac80cb5d21baf
ceph: skip if no auth cap in flush_snaps

If we have a capsnap but no auth cap (e.g. because it is migrating to
another mds), bail out and do nothing for now.  Do NOT remove the capsnap
from the flush list.

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