Bug in try_remount()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,
 I've been playing with automount and recently tried "kill -1" to get it
 to re-read the config file.  It crashed.

 Crash happens in try_remount().

	if (MM_PARENT(me)->key[0] == '/') {

MM_PARENT() is NULL.
My guess is that MM_PARENT() is only non-NULL for offset mounts and the
breakage was introduced in 
 Commit ba9fe0a (\"autofs-5.1.8 - fix incorrect path for is_mounted() in try_remount()\")

The very latest patch.
Prior to this patch it would only try MM_PARENT when type == t_offset.
Now it always accesses it.

NeilBrown




[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux