|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [mini-os master] 9pfs: add lseek file operation hook
commit 222ff9f23e5a198c675bd43e4c656d54d7db76c0
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Tue Mar 25 15:42:27 2025 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Mar 25 15:42:27 2025 +0100
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 <jgross@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
---
9pfront.c | 1 +
1 file changed, 1 insertion(+)
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))
--
generated by git-patchbot for /home/xen/git/mini-os.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |