diff options
author | 2005-01-18 21:19:58 +0000 | |
---|---|---|
committer | 2005-01-18 21:19:58 +0000 | |
commit | 1adb227764b7ba990b0635b812a49041d3e66dc2 (patch) | |
tree | 8ebec98bcff15d126dae4b53a62a0c7ae53e0093 /kernel/dev.c | |
parent | 67453ec7cf5b56749501832c90144a4f707473ac (diff) |
fix
Diffstat (limited to 'kernel/dev.c')
-rw-r--r-- | kernel/dev.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/dev.c b/kernel/dev.c index 3cfe1e7..331659e 100644 --- a/kernel/dev.c +++ b/kernel/dev.c @@ -661,13 +661,6 @@ static struct fuse_req *request_find(struct fuse_conn *fc, unsigned unique) return NULL; } -/* fget() needs to be done in this context */ -static void process_getdir(struct fuse_req *req) -{ - struct fuse_getdir_out_i *arg = req->out.args[0].value; - arg->file = fget(arg->fd); -} - static int copy_out_args(struct fuse_copy_state *cs, struct fuse_out *out, unsigned nbytes) { @@ -740,8 +733,6 @@ static ssize_t fuse_dev_writev(struct file *file, const struct iovec *iov, if (!err) { if (req->interrupted) err = -ENOENT; - else if (req->in.h.opcode == FUSE_GETDIR && !oh.error) - process_getdir(req); } else if (!req->interrupted) req->out.h.error = -EIO; request_end(fc, req); |