Re: [2.5.45] Unable to umount XFS filesystems

Steve Lord (lord@sgi.com)
04 Nov 2002 12:25:08 -0600


On Sat, 2002-11-02 at 09:13, Kronos wrote:
> Hi,
> with kernel 2.5.45 I'm unable to unmount XFS filesystems. 'umount' is
> blocked in D state:
>

Here is the fix for this hang.

Steve

===========================================================================
Index: linux/fs/xfs/xfs_vfsops.c
===========================================================================

--- /usr/tmp/TmpDir.27770-0/linux/fs/xfs/xfs_vfsops.c_1.390 Mon Nov 4 12:20:05 2002
+++ linux/fs/xfs/xfs_vfsops.c Mon Nov 4 12:18:52 2002
@@ -592,8 +592,6 @@
rvp->v_flag |= VPURGE; /* OK for vn_purge */
VN_RELE(rvp);

- vn_remove(rvp);
-
/*
* If we're forcing a shutdown, typically because of a media error,
* we want to make sure we invalidate dirty pages that belong to

-- 

Steve Lord voice: +1-651-683-3511 Principal Engineer, Filesystem Software email: lord@sgi.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/