]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/xfs/xfs_buf_item.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
[mv-sheeva.git] / fs / xfs / xfs_buf_item.c
index d74ce1134262bfb93ad4e2bf6592916e883b0323..92af4098c7e848043b74443d04d29d32597fd46b 100644 (file)
@@ -998,21 +998,7 @@ xfs_buf_iodone_callbacks(
                        xfs_buf_do_callbacks(bp, lip);
                        XFS_BUF_SET_FSPRIVATE(bp, NULL);
                        XFS_BUF_CLR_IODONE_FUNC(bp);
-
-                       /*
-                        * XFS_SHUT flag gets set when we go thru the
-                        * entire buffer cache and deliberately start
-                        * throwing away delayed write buffers.
-                        * Since there's no biowait done on those,
-                        * we should just brelse them.
-                        */
-                       if (XFS_BUF_ISSHUT(bp)) {
-                           XFS_BUF_UNSHUT(bp);
-                               xfs_buf_relse(bp);
-                       } else {
-                               xfs_biodone(bp);
-                       }
-
+                       xfs_biodone(bp);
                        return;
                }