mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
bf5fc4028e
commit
1385b81173
3 changed files with 3 additions and 3 deletions
|
@ -211,7 +211,7 @@ static void copy_single_comp(struct ore_components *oc, unsigned c,
|
|||
memcpy(ocomp->cred, src_comp->oc_cap.cred, sizeof(ocomp->cred));
|
||||
}
|
||||
|
||||
int __alloc_objio_seg(unsigned numdevs, gfp_t gfp_flags,
|
||||
static int __alloc_objio_seg(unsigned numdevs, gfp_t gfp_flags,
|
||||
struct objio_segment **pseg)
|
||||
{
|
||||
/* This is the in memory structure of the objio_segment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue