]> git.karo-electronics.de Git - mv-sheeva.git/commit
nfs41: free the slot on unhandled read errors
authorAndy Adamson <andros@netapp.com>
Fri, 4 Dec 2009 20:55:30 +0000 (15:55 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Dec 2009 20:55:30 +0000 (15:55 -0500)
commit36bbe34239f63377b5179ad32fd13cd71d6e1ba7
tree0e7edc3061f160784457b6ded18dbc47fa8cfed8
parente608e79f1bf4b967afcf57777e63b5f0939b00e8
nfs41: free the slot on unhandled read errors

nfs4_read_done returns zero on unhandled errors. nfs_readpage_result will
return on a negative tk_status without freeing the slot.
Call nfs4_sequence_free_slot on unhandled errors in nfs4_read_done.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c