Commit b8cd07e7 authored by Sage Weil's avatar Sage Weil

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: default avatarSage Weil <sage@newdream.net>
parent effcb9ed
......@@ -586,6 +586,7 @@ int ceph_add_cap(struct inode *inode,
} else {
pr_err("ceph_add_cap: couldn't find snap realm %llx\n",
realmino);
WARN_ON(!realm);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment