kernel - Remove partially commit debug code
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Dec 2011 04:22:45 +0000 (20:22 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 8 Dec 2011 04:22:45 +0000 (20:22 -0800)
* Remove partially committed debug code that will cause the compile
  to fail.

sys/vfs/nfs/nfsm_subs.c

index 2cdc5f3..bf3f47b 100644 (file)
@@ -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);
        }