]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ceph: remove useless IS_ERR checks
authorSage Weil <sage@newdream.net>
Sat, 21 Nov 2009 21:08:14 +0000 (13:08 -0800)
committerSage Weil <sage@newdream.net>
Sat, 21 Nov 2009 21:08:14 +0000 (13:08 -0800)
commit75eb3592811028e5b01835126483d115532a3aa1
tree657fb05f45b2fafea08f5b38cbf6282fc5d8493f
parent32c895e776a0dd2cb701d60fbd6440280c09ce35
ceph: remove useless IS_ERR checks

ceph_lookup_snap_realm either returns a valid pointer or NULL; there is no
need to check IS_ERR(result).

Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/snap.c