create_drive_from_mount_point: possible typo



Hello!

The beginning of create_drive_from_mount_point (lines 631-635 of libgnomevfs/gnome-vfs-volume-monitor-daemon.c) currently is

	if (mount->is_loopback ||
	    !(mount->is_user_mountable ||
	      g_str_has_prefix (mount->device_path, "/vol/"))) {
		return NULL;
	}

But shouldn't mount->device_path be changed to mount->mount_path ?
It's ok for me to have mounts in /vol, but I'd never expect devices to be there. Of course I could miss something.

p.s. I'm not on the list, please keep my e-mail in To: or Cc: if you want to reply.

--
Oleg Sharoiko.
Software and Network Engineer
Computer Center of Rostov State University.



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