From: Lennart Poettering Date: Fri, 17 May 2013 00:22:37 +0000 (+0200) Subject: bus: keep kernel bus fd around during entire life-time of bus X-Git-Tag: v205~223 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f54514f3542db9b1f1a6f7546472718ce0d02aae;hp=f54514f3542db9b1f1a6f7546472718ce0d02aae bus: keep kernel bus fd around during entire life-time of bus We need this since we might need to invoke the release ioctl for messages. Since we don't want to add any locking for that we simply keep a reference to the bus and then rely that the fd stays valid all the time. ---