umount.cifs: do not attempt to update /etc/mtab if it is symbolic link
commita869e4253a87f9a5e13dbe87b2799f8683d238d7
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>
Mon, 27 Jul 2009 16:02:35 +0000 (27 12:02 -0400)
committerJeff Layton <jlayton@redhat.com>
Mon, 27 Jul 2009 16:02:35 +0000 (27 12:02 -0400)
treee91f8c443d7ce8d42fe5eff80897d75a210d0465
parentb676e63a520e644e2737b55a61244fa8df9a10dc
umount.cifs: do not attempt to update /etc/mtab if it is symbolic link

If /etc/mtab is a symbolic link to e.g. /proc/mounts, do not update it.

This is a fix for a bug reported in 4675 on samba bugzilla

Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
client/umount.cifs.c