]> git.baikalelectronics.ru Git - kernel.git/commit
9p: return NULL when trans not found
authorLatchesar Ionkov <lucho@ionkov.net>
Tue, 6 Nov 2007 14:02:53 +0000 (08:02 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 6 Nov 2007 14:02:53 +0000 (08:02 -0600)
commite367d149c35ae4ff6eba3e4af80c0a646f2e2fc0
tree71edabbbea4b8df6748b652c0e561f819f003bd8
parent085b67869a7bb7646c6c76feab1d2d85c7b74226
9p: return NULL when trans not found

v9fs_match_trans function returns arbitrary transport module instead of NULL
when the requested transport is not registered. This patch modifies the
function to return NULL in that case.

Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/mod.c