aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fs/fuse/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 8b9c5ab0abc0..1b0b9f2a4fbf 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -69,7 +69,6 @@ struct fuse_file *fuse_file_alloc(struct fuse_mount *fm, bool release)
}
INIT_LIST_HEAD(&ff->write_entry);
- mutex_init(&ff->readdir.lock);
refcount_set(&ff->count, 1);
RB_CLEAR_NODE(&ff->polled_node);
init_waitqueue_head(&ff->poll_wait);
@@ -82,7 +81,6 @@ struct fuse_file *fuse_file_alloc(struct fuse_mount *fm, bool release)
void fuse_file_free(struct fuse_file *ff)
{
kfree(ff->args);
- mutex_destroy(&ff->readdir.lock);
kfree(ff);
}