commit | 3da127fa887e5187ede702b835770634d705f8b2 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Wed Nov 24 10:33:02 2010 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Mar 10 11:35:11 2011 +0100 |
tree | 8bd46caed3ed01c192d99117819d314f838e42cd | |
parent | c507f46f26661d4d0dc95a1b1271df5855ab4602 [diff] |
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 <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>