]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
nfsd41: match clientid establishment method
authorAndy Adamson <andros@netapp.com>
Fri, 3 Apr 2009 05:28:05 +0000 (08:28 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 4 Apr 2009 00:41:15 +0000 (17:41 -0700)
commita1bcecd29cdf1670df6908a620add4211c0abb7a
treea4323b21675db5a47a45f5d292fef468b9786007
parent0733d21338747483985a5964e852af160d88e429
nfsd41: match clientid establishment method

We need to distinguish between client names provided by NFSv4.0 clients
SETCLIENTID and those provided by NFSv4.1 via EXCHANGE_ID when looking
up the clientid by string.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Andy Adamson <andros@netapp.com>
[nfsd41: use boolean values for use_exchange_id argument]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd41: simplify match_clientid_establishment logic]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c
include/linux/nfsd/state.h