summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/.cvsignore1
-rw-r--r--fs/nfsd/vfs.c4
2 files changed, 5 insertions, 0 deletions
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);
}