From 08985921a13dafca5f6acddcf89ef5bae521f4b2 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 17 May 2011 13:53:06 +0200 Subject: [PATCH] sandbox: allow lseek on host files Signed-off-by: Peter Korsgaard --- arch/sandbox/board/hostfile.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index e460d0a..b049baa 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -66,6 +66,7 @@ static void hf_info(struct device_d *dev) static struct file_operations hf_fops = { .read = hf_read, .write = hf_write, + .lseek = dev_lseek_default, }; static int hf_probe(struct device_d *dev) -- 1.7.4.4