• Kendrick M. Smith's avatar
    [PATCH] kNFSd: NFSv4: change ->rq_vers==3 to ->rq_vers>2 · 82afc1e9
    Kendrick M. Smith authored
    In a few places on the server, I had to change code that looked like:
    
       if (rqstp->rq_vers == 3)
           /* NFSv3 behavior */
       else
           /* NFSv2 behavior */
    
    to:
    
       if (rqstp->rq_vers > 2)
           /* NFSv3 behavior */
       else
           /* NFSv2 behavior */
    
    so that we would get the NFSv3 behavior, not the NFSv2 behavior,
    in NFSv4.  This patch collects all changes of this type.
    82afc1e9
vfs.c 36.3 KB