summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Pierre André <jpandre@users.sourceforge.net>2012-08-22 10:00:21 +0200
committerJean-Pierre André <jpandre@users.sourceforge.net>2012-08-22 10:00:21 +0200
commit6766a218e2c3d08bcc8aaae4188a8d23e818cd7e (patch)
tree9692aac1e8bdcc43fc69df56a02834fa17fb8828
parent28a6022bf523cc68e031bcb00ce987f79e763867 (diff)
downloadillumos-fusefs-6766a218e2c3d08bcc8aaae4188a8d23e818cd7e.tar.gz
Fix the reference count on directories in order to send releasedir
-rw-r--r--kernel/fuse_vnops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/fuse_vnops.c b/kernel/fuse_vnops.c
index 7666adf..bd7ad9e 100644
--- a/kernel/fuse_vnops.c
+++ b/kernel/fuse_vnops.c
@@ -2540,8 +2540,6 @@ fuse_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred_p,
return (EIO);
}
- fh->ref++;
-
/* setup fuse i/o data structure */
fiodata.uiop = uiop;
fiodata.credp = cred_p;