Project

General

Profile

Bug #909

dangling nfs4 debug code should be removed

Added by Rich Lowe about 9 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2011-04-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

NFS4 contains what looks like left over debugging code, defining protypes for nfs4_debug_mutex_exit/enter and mutex_exit/enter macros to use them in place of the regular calls. However, the actual implementation of these seems to be absent, the rest should be removed too.

source:usr/src/uts/common/nfs/nfs4.h#L960

Below that is other code which looks like it should also be removed:
source:usr/src/uts/common/nfs/nfs4.h#L973 (through 991)

Which points us to VOLATILE_FH_TEST, which litters the NFS related code, and is similarly dangling.

Also available in: Atom PDF