diff options
| author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-11-24 10:33:02 +0100 |
|---|---|---|
| committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 11:35:11 +0100 |
| commit | 3da127fa887e5187ede702b835770634d705f8b2 (patch) | |
| tree | 8bd46caed3ed01c192d99117819d314f838e42cd /include/linux | |
| 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
