summaryrefslogtreecommitdiff
path: root/include/linux/rxrpc.h
diff options
context:
space:
mode:
authorJim Rees <rees@umich.edu>2011-09-23 05:50:08 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-18 20:08:11 +0400
commit516f2e24faa7548a61d9ba790958528469c2e284 (patch)
treed4aa8a2fe75ada9a1af5257be8d14cb3b13fef65 /include/linux/rxrpc.h
parent2da956523526e440ef4f4dd174e26f5ac06fe011 (diff)
downloadlinux-516f2e24faa7548a61d9ba790958528469c2e284.tar.xz
pnfsblock: fix return code confusion
Always return PTR_ERR, not NULL, from nfs4_blk_get_deviceinfo and nfs4_blk_decode_device. Check for IS_ERR, not NULL, in bl_set_layoutdriver when calling nfs4_blk_get_deviceinfo. Signed-off-by: Jim Rees <rees@umich.edu> Signed-off-by: Benny Halevy <bhalevy@tonian.com> Cc: stable@kernel.org [3.0] Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/rxrpc.h')
0 files changed, 0 insertions, 0 deletions