diff options
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/caps.c | 1 |
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 | ||