NFS: Fix sparse warnings
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 May 2012 17:54:24 +0000 (13:54 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 May 2012 18:59:51 +0000 (14:59 -0400)
commit1385b8117325e79f74c1e7d1cbf45c789deb85c5
treeb1afbd0a9ecd49d29621d1c931d685d705e285d7
parentbf5fc4028ef751904a114ffc4b5d2cd9f0233142
NFS: Fix sparse warnings

Fix the following sparse warnings:

fs/nfs/direct.c:221:6: warning: symbol 'nfs_direct_readpage_release' was
not declared. Should it be static?
fs/nfs/read.c:38:43: warning: non-ANSI function declaration of function
'nfs_readhdr_alloc'
fs/nfs/objlayout/objio_osd.c:214:5: warning: symbol '__alloc_objio_seg'
was not declared. Should it be static?

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
Cc: Boaz Harrosh <bharrosh@panasas.com>
fs/nfs/direct.c
fs/nfs/objlayout/objio_osd.c
fs/nfs/read.c