summaryrefslogtreecommitdiff
path: root/lib/llist.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2016-12-03 15:38:29 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-12-03 15:38:29 -0500
commit97c7b18a5d15516a4358a6d2d5ddfb22d62d9fac (patch)
treee174a61f84dc532ac99e74afe7b135558db62527 /lib/llist.c
parent21d0f4fa8e7b026cdae988f99f4c3aab154d5b7c (diff)
mbcache: remove unnecessary module_get/module_put
When mbcache is built as a module, any modules that use it (ext2 and/or ext4) will depend on its symbols directly, incrementing its reference count. Therefore, there is no need to do module_get/module_put. Also note that since the module_get/module_put were in the mbcache module itself, executing those lines of code was already dependent on another reference to the mbcache module being held. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions