From: Juergen Gross Date: Tue, 25 Mar 2025 14:42:27 +0000 (+0100) Subject: 9pfs: add lseek file operation hook X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;ds=sidebyside;p=mini-os.git 9pfs: add lseek file operation hook Add a file operations lseek hook to the 9pfs frontend. Just use the lseek_default() implementation. Signed-off-by: Juergen Gross Reviewed-by: Jason Andryuk Reviewed-by: Samuel Thibault --- diff --git a/9pfront.c b/9pfront.c index e676da3..895426d 100644 --- a/9pfront.c +++ b/9pfront.c @@ -1326,6 +1326,7 @@ static const struct file_ops ops_9pfs = { .write = write_9pfs, .close = close_9pfs, .fstat = fstat_9pfs, + .lseek = lseek_default, }; __attribute__((constructor))