Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.
authorMichael Adam <obnox@samba.org>
Fri, 16 Nov 2007 21:26:26 +0000 (22:26 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 16 Nov 2007 21:30:50 +0000 (22:30 +0100)
commitea97a10df5732dfcc931197a01d6446ed92b7658
tree2d46952d0df19e93c175f5316e1785d6d497b6f1
parent183eea4909d6678ac382eac16a5873a1fa3fd065
Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.

Canonicalize mountpoint by trimming trailing slashes before unmounting.
This allows for correct cleanup of /etc/mtab after unmounting.

Thanks to Steve Langasek <vorlon@debian.org>.

Michael
source/client/umount.cifs.c