linux/net/9p
Chengguang Xu 9421c3e641 net/9p/client.c: fix potential refcnt problem of trans module
When specifying trans_mod multiple times in a mount, it will cause an
inaccurate refcount of the trans module.  Also, in the error case of
option parsing, we should put the trans module if we have already got
it.

Link: http://lkml.kernel.org/r/1522154942-57339-1-git-send-email-cgxu519@gmx.com
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: David Miller <davem@davemloft.net>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-05 21:36:23 -07:00
..
Kconfig
Makefile
client.c net/9p/client.c: fix potential refcnt problem of trans module 2018-04-05 21:36:23 -07:00
error.c
mod.c
protocol.c
protocol.h
trans_common.c
trans_common.h
trans_fd.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
trans_rdma.c
trans_virtio.c 9p/trans_virtio: discard zero-length reply 2018-02-09 20:08:19 +02:00
trans_xen.c 9p: add missing module license for xen transport 2018-01-15 13:13:53 -05:00
util.c