From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: khlebnikov@parallels.com Message-ID: <4E098E3B.5060707@openvz.org> Date: Tue, 28 Jun 2011 12:18:03 +0400 From: Konstantin Khlebnikov MIME-Version: 1.0 To: , Petr Uzel , Karel Zak Subject: [BUG] umount does not work for disconected nfs mounts Content-Type: text/plain; charset="UTF-8"; format=flowed List-ID: commit 33cee6675edecbd27c0628f8b7c74c7d88fc02b2 http://git.kernel.org/?p=utils/util-linux/util-linux-ng.git;a=commitdiff;h=33cee6675edecbd27c0628f8b7c74c7d88fc02b2;hp=fde25e6be6e00a0998eb58b4b9d0d0b9ad65dbfd "umount: allow unmounting loopdev specified by associated file" broke umounting (by mountpoint) for broken nfs mounts, because now umount always call stat() for target argument and umount hang inside nfs-rpc: [] rpc_wait_bit_killable+0x1f/0x40 [] __rpc_execute+0xe5/0x2f0 [] rpc_execute+0x3e/0x50 [] rpc_run_task+0x70/0x90 [] rpc_call_sync+0x3e/0x70 [] nfs3_rpc_wrapper.constprop.11+0x43/0x70 [] nfs3_proc_getattr+0x42/0x80 [] __nfs_revalidate_inode+0x95/0x1f0 [] nfs_revalidate_inode+0x31/0x60 [] nfs_getattr+0x5a/0x110 [] vfs_getattr+0x1a/0x30 [] vfs_fstatat+0x53/0x70 [] vfs_stat+0x16/0x20 [] sys_newstat+0x15/0x30 [] tracesys+0xd9/0xde [] 0xffffffffffffffff so mount /mnt/nfs get stuck, umounting by device is still possible.