9p-trans_fd: don't do fs segment mangling in p9_fd_poll()
commitec3c68f232f6d98b4596c05c1c7551b44c617c5f
authorTejun Heo <tj@kernel.org>
Wed, 24 Sep 2008 21:22:23 +0000 (24 16:22 -0500)
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>
Wed, 24 Sep 2008 21:22:23 +0000 (24 16:22 -0500)
treed00aac0a2ff78d9d45a8247139543b942fc87595
parent571ffeafffbfdd0b8f2f9d3b991028797ec87e42
9p-trans_fd: don't do fs segment mangling in p9_fd_poll()

p9_fd_poll() is never called with user pointers and f_op->poll()
doesn't expect its arguments to be from userland.  There's no need to
set kernel ds before calling f_op->poll() from p9_fd_poll().  Remove
it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_fd.c