From 98515ee72112f21b7c3e06a748c8c3909acf9712 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 7 Dec 2011 20:22:45 -0800 Subject: [PATCH] kernel - Remove partially commit debug code * Remove partially committed debug code that will cause the compile to fail. --- sys/vfs/nfs/nfsm_subs.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/sys/vfs/nfs/nfsm_subs.c b/sys/vfs/nfs/nfsm_subs.c index 2cdc5f3..bf3f47b 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); } -- 1.7.7.2