nfsd: Export get_task_comm for nfsd
authorPavel Emelyanov <xemul@parallels.com>
Thu, 23 Sep 2010 14:26:58 +0000 (18:26 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 23 Sep 2010 14:34:21 +0000 (10:34 -0400)
commit049ef27b224ecc33958465fef83d5e4e8a056115
treec4bec9c4f6b13958353cb1ee7001865779a5cd1e
parent1e1405673e4e40a94ed7620553eb440a21040402
nfsd: Export get_task_comm for nfsd

The git://linux-nfs.org/~bfields/linux.git nfsd-next branch doesn't
compile when nfsd is a module with the following error:

   ERROR: "get_task_comm" [fs/nfsd/nfsd.ko] undefined!

Replace the get_task_comm call with direct comm access, which is
safe for current.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsctl.c