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