nfs: Use PTR_ERR_OR_ZERO in 'nfs41_callback_up' function
authorGeyslan G. Bem <geyslan@gmail.com>
Mon, 14 Oct 2013 20:24:15 +0000 (17:24 -0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 22:16:55 +0000 (18:16 -0400)
commit54bcfa6682cfc7ee19dee0e94587f8f55a440df6
treee16c47f39b06eae313e4a766a7d764889de60e2f
parent4f5829d72636513e23a5f76355536776bf390a8a
nfs: Use PTR_ERR_OR_ZERO in 'nfs41_callback_up' function

Use 'PTR_ERR_OR_ZERO()' rather than 'IS_ERR(...) ? PTR_ERR(...) : 0'.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.c