NFS: Ensure that we break out of read/write_schedule_segment on error
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 17:22:54 +0000 (13:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 18:33:51 +0000 (14:33 -0400)
commit71e8cc00c63e8518ce86b4079355fc9086a4869d
treec48dd887cbb8e3228652992acbfc558a1a066f0e
parent68cd6fa4f3be07ba648e22617dfa16a40d671d19
NFS: Ensure that we break out of read/write_schedule_segment on error

Currently we do break out of the for() loop, but we also need to
break out of the enclosing do {} while()...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
fs/nfs/direct.c