Skip to content

Commit 2dc84a7

Browse files
palichucklever
authored andcommitted
lockd: Fix comment about NLMv3 backwards compatibility
NLMv2 is completely different protocol than NLMv1 and NLMv3, and in original Sun implementation is used for RPC loopback callbacks from statd to lockd services. Linux does not use nor does not implement NLMv2. Hence, NLMv3 is not backward compatible with NLMv2. But NLMv3 is backward compatible with NLMv1. Fix comment. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent b9376c7 commit 2dc84a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fs/lockd/clntxdr.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
/*
33
* linux/fs/lockd/clntxdr.c
44
*
5-
* XDR functions to encode/decode NLM version 3 RPC arguments and results.
6-
* NLM version 3 is backwards compatible with NLM versions 1 and 2.
5+
* XDR functions to encode/decode NLM version 1 and 3 RPC
6+
* arguments and results. NLM version 2 is not specified
7+
* by a standard, thus it is not implemented.
78
*
89
* NLM client-side only.
910
*

0 commit comments

Comments
 (0)