From: Lars Ellenberg Date: Wed, 24 Nov 2010 09:33:02 +0000 (+0100) Subject: drbd: increase module count on /proc/drbd access X-Git-Tag: v2.6.39-rc1~37^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3da127fa887e5187ede702b835770634d705f8b2;p=pandora-kernel.git drbd: increase module count on /proc/drbd access If someone holds /proc/drbd open, previously rmmod would "succeed" in starting the unload, but then block on remove_proc_entry, leading to a situation where the lsmod does not show drbd anymore, but /proc/drbd being still there (but no longer accessible). I'd rather have rmmod fail up front in this case. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed