]> err.no Git - linux-2.6/commit
NetLabel: Cleanup the LSM domain hash functions
authorPaul Moore <paul.moore@hp.com>
Tue, 29 Jan 2008 13:37:54 +0000 (08:37 -0500)
committerJames Morris <jmorris@namei.org>
Tue, 29 Jan 2008 21:17:17 +0000 (08:17 +1100)
commitb64397e0b40e75b619aeef9a1fa21f79f801a3e8
treecea93c3a06953ceb0e8876f699ff41be6c54207d
parentc783f1ce5712530ba404807c55d77ac782eb8a7d
NetLabel: Cleanup the LSM domain hash functions

The NetLabel/LSM domain hash table search function used an argument to specify
if the default entry should be returned if an exact match couldn't be found in
the hash table.  This is a bit against the kernel's style so make two separate
functions to represent the separate behaviors.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
net/netlabel/netlabel_domainhash.c