From: Matthew Dillon Date: Thu, 8 Dec 2011 04:22:45 +0000 (-0800) Subject: kernel - Remove partially commit debug code X-Git-Tag: v3.0.0~442 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/98515ee72112f21b7c3e06a748c8c3909acf9712 kernel - Remove partially commit debug code * Remove partially committed debug code that will cause the compile to fail. --- diff --git a/sys/vfs/nfs/nfsm_subs.c b/sys/vfs/nfs/nfsm_subs.c index 2cdc5f3a38..bf3f47ba06 100644 --- a/sys/vfs/nfs/nfsm_subs.c +++ b/sys/vfs/nfs/nfsm_subs.c @@ -822,13 +822,6 @@ nfsm_request_bio(nfsm_info_t info, struct vnode *vp, int procnum, if (error == EIO) /* unrecoverable */ bp->b_flags |= B_INVAL; } - - /* - * This can retry endlessly during a shutdown, change ESTALE - * to EIO in this case. - */ - if (shutdown_inprog && error == ESTALE) - error = EIO; bp->b_error = error; biodone(info->bio); }