]> err.no Git - linux-2.6/commit
[PATCH] knfsd: Tidy up unix_domain_find
authorNeilBrown <neilb@suse.de>
Mon, 27 Mar 2006 09:15:11 +0000 (01:15 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:43 +0000 (08:44 -0800)
commitad1b5229def92b71631a927895b034ceec06c991
treeb3e1b365a2ce91c72d7f07c6271efc3c6c8ff839
parent74cae61ab45f19a3e8c4d9f53c0e94df129c7915
[PATCH] knfsd: Tidy up unix_domain_find

We shouldn't really compare &new->h with anything when new ==NULL, and gather
three different if statements that all start

  if (rv ...

into one large if.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/svcauth_unix.c