2004-06-23 Miklos Szeredi <mszeredi@inf.bme.hu>
* Fix locking bugs
+
+ * Don't send reply to RELEASE
2004-06-22 Miklos Szeredi <mszeredi@inf.bme.hu>
static void do_release(struct fuse *f, struct fuse_in_header *in,
struct fuse_open_in *arg)
{
- char *path;
-
- if (!f->op.release) {
- send_reply(f, in, -ENOSYS, NULL, 0);
- return;
- }
+ if (f->op.release) {
+ char *path;
- path = get_path(f, in->ino);
- if (path != NULL) {
- f->op.release(path, arg->flags);
- free(path);
+ path = get_path(f, in->ino);
+ if (path != NULL) {
+ f->op.release(path, arg->flags);
+ free(path);
+ }
}
}