• Trond Myklebust's avatar
    NFS: Fix a number of sparse warnings · 17280175
    Trond Myklebust authored
    Fix a number of "warning: symbol 'foo' was not declared. Should it be
    static?" conditions.
    
    Fix 2 cases of "warning: Using plain integer as NULL pointer"
    
    fs/nfs/delegation.c:263:31: warning: restricted fmode_t degrades to integer
      - We want to allow upgrades to a WRITE delegation, but should otherwise
        consider servers that hand out duplicate delegations to be borken.
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    17280175
nfs4state.c 48.5 KB