]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ceph/caps.c
ceph: warn on missing snap realm
[net-next-2.6.git] / fs / ceph / caps.c
index e3b848d7698de2dd65b2a69490937500d4394599..30acc7b046eeb0a5f0afb035148cb5ae7d524c23 100644 (file)
@@ -586,6 +586,7 @@ retry:
                } else {
                        pr_err("ceph_add_cap: couldn't find snap realm %llx\n",
                               realmino);
+                       WARN_ON(!realm);
                }
        }