forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
effcb9ed43
commit
b8cd07e78e
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user