]> git.decadent.org.uk Git - nfs-utils.git/commit
libexport.a: Clean up client_add()
authorChuck Lever <chuck.lever@oracle.com>
Wed, 5 May 2010 18:42:01 +0000 (14:42 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 5 May 2010 19:42:29 +0000 (15:42 -0400)
commit6ff1fd42db18c657fbc5f81169a566b41d53e731
tree46cfe63c5a09f6282fde8fd0bde9341c68cdcea2
parent9bb85c5e8d2285f82367c75df5530a71a9a5a5f2
libexport.a: Clean up client_add()

Clean up: client_add()'s current callers never set unknown m_type
values, so the m_type check is unnecessary.

All of client_add()'s callers are in the same source file where it is
defined, so make it a static helper function.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/export/client.c
support/include/exportfs.h