projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
effcb9e
)
ceph: warn on missing snap realm
author
Sage Weil
<sage@newdream.net>
Fri, 16 Jul 2010 19:00:02 +0000
(12:00 -0700)
committer
Sage Weil
<sage@newdream.net>
Mon, 2 Aug 2010 03:11:42 +0000
(20:11 -0700)
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>
fs/ceph/caps.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/caps.c
b/fs/ceph/caps.c
index e3b848d7698de2dd65b2a69490937500d4394599..30acc7b046eeb0a5f0afb035148cb5ae7d524c23 100644
(file)
--- a/
fs/ceph/caps.c
+++ b/
fs/ceph/caps.c
@@
-586,6
+586,7
@@
retry:
} else {
pr_err("ceph_add_cap: couldn't find snap realm %llx\n",
realmino);
+ WARN_ON(!realm);
}
}