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 xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND 2017-05-02 11:14:36 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 net/9p: switch to copy_from_iter_full() 2017-04-21 13:57:22 -04:00
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 9p: Implement show_options 2017-07-11 06:08:58 -04:00
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