[PATCH] FUSE - fix llseek on device

From: Miklos Szeredi
Date: Thu Jan 20 2005 - 14:23:57 EST


Andrew,

This patch makes llseek behave properly on the FUSE device

Thanks,
Miklos

Signed-off-by: Miklos Szeredi <miklos@xxxxxxxxxx>

diff -rup linux-2.6.11-rc1-mm2/fs/fuse/dev.c linux-fuse/fs/fuse/dev.c
--- linux-2.6.11-rc1-mm2/fs/fuse/dev.c 2005-01-20 09:30:15.000000000 +0100
+++ linux-fuse/fs/fuse/dev.c 2005-01-20 20:01:50.000000000 +0100
@@ -784,6 +784,7 @@ static int fuse_dev_release(struct inode

struct file_operations fuse_dev_operations = {
.owner = THIS_MODULE,
+ .llseek = no_llseek,
.read = fuse_dev_read,
.readv = fuse_dev_readv,
.write = fuse_dev_write,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/