2006-01-13 01:01:02

by NeilBrown

[permalink] [raw]
Subject: [PATCH kNFSd 002 of 26] Remove inline from a couple of large NFS functions.


These are both called from two places close together.
I could rearrange that code so there is only one call site,
but just removing the 'inline' is probably best.


Signed-off-by: Neil Brown <[email protected]>

### Diffstat output
./fs/nfsd/vfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff ./fs/nfsd/vfs.c~current~ ./fs/nfsd/vfs.c
--- ./fs/nfsd/vfs.c~current~ 2006-01-13 11:48:46.000000000 +1100
+++ ./fs/nfsd/vfs.c 2006-01-13 11:49:45.000000000 +1100
@@ -815,7 +815,7 @@ nfsd_read_actor(read_descriptor_t *desc,
return size;
}

-static inline int
+static int
nfsd_vfs_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file,
loff_t offset, struct kvec *vec, int vlen, unsigned long *count)
{
@@ -879,7 +879,7 @@ static void kill_suid(struct dentry *den
mutex_unlock(&dentry->d_inode->i_mutex);
}

-static inline int
+static int
nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file,
loff_t offset, struct kvec *vec, int vlen,
unsigned long cnt, int *stablep)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs