Re: nfsd vfs.c does not seems to fsync() with file overwrite, when ithave to.

2001-04-02 Thread Neil Brown
On Tuesday April 3, [EMAIL PROTECTED] wrote: > Dear Neil, > > I think I've found bug in nfsd. Here's patch for fixing. > I'd like to explain what's problem and what's changed, after patch. snip > > Because > > L710: err = file.f_op->write(&file, buf, cnt, &file.f_pos); > > does not store di

nfsd vfs.c does not seems to fsync() with file overwrite, when ithave to.

2001-04-02 Thread okuyamak
Dear Neil, I think I've found bug in nfsd. Here's patch for fixing. I'd like to explain what's problem and what's changed, after patch. diff -urN ./linux.orig/fs/nfsd/vfs.c ./linux/fs/nfsd/vfs.c --- ./linux.orig/fs/nfsd/vfs.c Tue Mar 13 11:13:28 2001 +++ ./linux/fs/nfsd/vfs.c Mon Apr 2