NFS: Fix a number of sparse warnings
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 11 Mar 2012 17:11:00 +0000 (13:11 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 11 Mar 2012 19:14:16 +0000 (15:14 -0400)
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: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found