umount.nfs: umount doesn't recognize a busy file system
authorChuck Lever <chuck.lever@oracle.com>
Mon, 24 Sep 2007 15:29:31 +0000 (11:29 -0400)
committerNeil Brown <neilb@suse.de>
Tue, 25 Sep 2007 01:50:16 +0000 (11:50 +1000)
commite227ac0348431eecc1ddadf5d1907c8348741519
treeac0feab203d8657ee28b3f9dc07e327dd31ad1ca
parente90a21266b0bed721d6df4468cf85f06d578fc8e
umount.nfs: umount doesn't recognize a busy file system

umount.nfs shouldn't remove a busy file system from /etc/mtab, and should
report and return an error.  I also added an extra "goto" to make the flow
of control more clear, and to reduce the chance that a future change in
this logic will break it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/nfsumount.c