From d8d9b8f76f22b7a16a83e261e64f89ee611f49df Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 1 Jun 1997 03:16:17 +0000 Subject: Initial revision --- fs/nfsd/.cvsignore | 1 + fs/nfsd/vfs.c | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 fs/nfsd/.cvsignore (limited to 'fs/nfsd') diff --git a/fs/nfsd/.cvsignore b/fs/nfsd/.cvsignore new file mode 100644 index 000000000..4671378ae --- /dev/null +++ b/fs/nfsd/.cvsignore @@ -0,0 +1 @@ +.depend diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index ecec8a22b..6327cee48 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -285,6 +285,10 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, if (err) { if (wflag) put_write_access(inode); + + /* I nearly added put_filp() call here, but this filp + * is really on callers stack frame. -DaveM + */ filp->f_count--; return nfserrno(-err); } -- cgit v1.2.3