diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2002-12-10 14:54:57 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2002-12-10 14:54:57 +0000 |
commit | 383a9dfa0011cce8b5619a6a3f6b69142f8388b8 (patch) | |
tree | 9a0397ea3c370a9fc7ecb0986fa994bba8ab00a3 /lib | |
parent | c8ba2379a8dae3cc7a7fdeb6ee00fb95332212aa (diff) | |
download | libfuse-383a9dfa0011cce8b5619a6a3f6b69142f8388b8.tar.gz |
release() changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -755,18 +755,14 @@ static void do_open(struct fuse *f, struct fuse_in_header *in, static void do_release(struct fuse *f, struct fuse_in_header *in) { - int res; char *path; - res = -ENOENT; path = get_path(f, in->ino); if(path != NULL) { - res = -ENOSYS; if(f->op.release) - res = f->op.release(path); + f->op.release(path); free(path); } - send_reply(f, in, res, NULL, 0); } static void do_read(struct fuse *f, struct fuse_in_header *in, |