]> err.no Git - util-linux/commit
umount: only call update_mtab if mtab_is_writable().
authorLaMont Jones <lamont@mmjgroup.com>
Sun, 26 Aug 2007 02:27:42 +0000 (20:27 -0600)
committerLaMont Jones <lamont@mmjgroup.com>
Sun, 26 Aug 2007 02:27:42 +0000 (20:27 -0600)
commit4279d8b105d3dfcafcf6d190c8f6fd60a14eaece
tree086921fb387a8cebbe69d9d346f49f8fa6d00a27
parent246369eee597753fbdaa02f36a5caee9d2e0ac39
umount: only call update_mtab if mtab_is_writable().

There are several calls to update_mtab() which are not guarded by
mtab_is_writable().  Reported by: Daniel Jacobowitz <dan@debian.org>

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338803

Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
mount/umount.c