aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorJim Rees <rees@umich.edu>2011-09-22 21:50:08 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:42:55 -0800
commit029bc659415f3835a5ec6485b40cc2e53283c0dc (patch)
tree007e8b5dcf83936b1bf84dc7e179deaa25758645 /net/lapb/lapb_in.c
parent2a8796e3653ee5a99c16e029b22ec78b14818286 (diff)
pnfsblock: fix return code confusion
commit 516f2e24faa7548a61d9ba790958528469c2e284 upstream. 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> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions