slavaim / redirfs

A Linux file system filter based on redirfs
33 stars 25 forks source link

fix "module in use error" when rmmod #14

Open tohosys opened 5 years ago

tohosys commented 5 years ago

test:

insmod redirfs/redirfs.ko

insmod avflt/avflt.ko

lsmod | grep flt

avflt                  25041  1
redirfs               106886  1 avflt

echo -n "1" > /sys/fs/redirfs/filters/avflt/unregister

rmmod avflt

rmmod redirfs

commit note Dear @slavaim, committed email address vogella is an error. It's my git configuration mistake. Let me commit collection email(tohosys) next time. thanks.

tohosys commented 4 years ago

Dear @slavaim, Above pull request is meaningless, ignore please. Module in use error is big job, maybe. thanks.