diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-06-25 01:20:01 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-06-25 01:20:01 +0000 |
commit | 3797ba0b62debb71af4606910acacc9896a9ae3b (patch) | |
tree | 414eea76253c7871bfdf3bd9d1817771eb40917c /fs/nfsd | |
parent | 2b6c0c580795a4404f72d2a794214dd9e080709d (diff) |
Merge with Linux 2.4.0-test2.
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfssvc.c | 5 | ||||
-rw-r--r-- | fs/nfsd/vfs.c | 14 |
3 files changed, 9 insertions, 12 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index c2607ff2e..c4e456185 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -218,7 +218,7 @@ static struct { }; #define CMD_MAX (sizeof(sizes)/sizeof(sizes[0])-1) -int +long asmlinkage handle_sys_nfsservctl(int cmd, void *opaque_argp, void *opaque_resp) { struct nfsctl_arg * argp = opaque_argp; diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index a2b2b4971..fb3b32f8d 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c @@ -83,10 +83,7 @@ nfsd_svc(unsigned short port, int nrservs) if (error < 0) goto failure; -#if CONFIG_NFSD_TCP - /* This is developer-only at the moment, - * there are untracked bugs as of 2.4.0-test1-ac11 - */ +#if 0 /* Don't even pretend that TCP works. It doesn't. */ error = svc_makesock(nfsd_serv, IPPROTO_TCP, port); if (error < 0) goto failure; diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 601549ccc..40f1ab85a 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -314,7 +314,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap) if (err) goto out_nfserr; if (EX_ISSYNC(fhp->fh_export)) - write_inode_now(inode, 0); + write_inode_now(inode); err = 0; /* Don't unlock inode; the nfssvc_release functions are supposed @@ -512,7 +512,7 @@ nfsd_sync(struct file *filp) { dprintk("nfsd: sync file %s\n", filp->f_dentry->d_name.name); down(&filp->f_dentry->d_inode->i_sem); - filp->f_op->fsync(filp, filp->f_dentry,0); + filp->f_op->fsync(filp, filp->f_dentry); up(&filp->f_dentry->d_inode->i_sem); } @@ -520,10 +520,10 @@ void nfsd_sync_dir(struct dentry *dp) { struct inode *inode = dp->d_inode; - int (*fsync) (struct file *, struct dentry *, int); + int (*fsync) (struct file *, struct dentry *); if (inode->i_fop && (fsync = inode->i_fop->fsync)) { - fsync(NULL, dp, 0); + fsync(NULL, dp); } } @@ -891,7 +891,7 @@ nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp, if (EX_ISSYNC(fhp->fh_export)) { nfsd_sync_dir(dentry); - write_inode_now(dchild->d_inode, 0); + write_inode_now(dchild->d_inode); } @@ -1118,7 +1118,7 @@ nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp, | S_IFLNK; err = notify_change(dnew, iap); if (!err && EX_ISSYNC(fhp->fh_export)) - write_inode_now(dentry->d_inode, 0); + write_inode_now(dentry->d_inode); } } } else @@ -1178,7 +1178,7 @@ nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp, if (!err) { if (EX_ISSYNC(ffhp->fh_export)) { nfsd_sync_dir(ddir); - write_inode_now(dest, 0); + write_inode_now(dest); } } else { if (err == -EXDEV && rqstp->rq_vers == 2) |