volume_id fix
I've been told that open() should not pass O_NONBLOCK.
Kay
===== extras/volume_id/volume_id.c 1.7 vs edited =====
extras/volume_id/volume_id.c +1 -1
@@ -2128,7 +2128,7 @@struct volume_id *id;int fd; - fd =open (path,O_RDONLY |O_NONBLOCK ); + fd =open (path,O_RDONLY );if (fd <0 ) {dbg ("unable to open '%s'" , path);return NULL ;
Greg KH
AppliedQuoted 1 line · Kay Sievers
I've been told that
open()should not passO_NONBLOCK.
Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel