aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-07-16 15:00:02 -0400
committerSage Weil <sage@newdream.net>2010-08-01 23:11:42 -0400
commitb8cd07e78eaa49857e882f4199309f86aeb80bbd (patch)
tree91999adddd919b9f47d69d71800ac33ac40077fd /fs
parenteffcb9ed43d16db27ae5837d93879e067e902151 (diff)
ceph: warn on missing snap realm
Well, this Shouldn't Happen, so it would be helpful to know the caller when it does. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/caps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index e3b848d7698d..30acc7b046ee 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -586,6 +586,7 @@ retry:
586 } else { 586 } else {
587 pr_err("ceph_add_cap: couldn't find snap realm %llx\n", 587 pr_err("ceph_add_cap: couldn't find snap realm %llx\n",
588 realmino); 588 realmino);
589 WARN_ON(!realm);
589 } 590 }
590 } 591 }
591 592