From decf19bb9dc7b70ad89f9154899e73df069f5e62 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 25 Feb 2011 16:41:25 -0500 Subject: Call sync after nfs unmount, otherwise we'll hang when the kernel syncs later. (#637500) --- rc.d/init.d/netfs | 1 + 1 file changed, 1 insertion(+) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 8d9854fb..3713cf45 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -116,6 +116,7 @@ case "$1" in $"Unmounting NFS filesystems: " \ $"Unmounting NFS filesystems (retry): " \ "-f -l" + sync fi if [ -n "$CIFSMTAB" ]; then for MNT in $CIFSMTAB; do -- cgit v1.2.1