Skip to content

Commit

Permalink
ceph: warn on missing snap realm
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sage Weil committed Aug 2, 2010
1 parent effcb9e commit b8cd07e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ceph/caps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit b8cd07e

Please sign in to comment.