VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Pedro Cuadra <pjcuadra@gmail.com> 2019-07-16 16:29:13 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2019-07-16 19:23:23 -0700 commit: a9fba24c6ac9b66c09dfc2a0e845ecace187e89c parent: 5bb44810f47a00b608ed2cb9f892ae7ce37b02bd
Commit Summary:
coda: add hinting support for partial file caching
Diffstat:
1 file changed, 3 insertions, 0 deletions
diff --git a/fs/coda/coda_psdev.h b/fs/coda/coda_psdev.h
index 801423cbbdfc..52da08c770b0 100644
--- a/fs/coda/coda_psdev.h
+++ b/fs/coda/coda_psdev.h
@@ -83,6 +83,9 @@ int coda_downcall(struct venus_comm *vcp, int opcode, union outputArgs *out,
 		  size_t nbytes);
 int venus_fsync(struct super_block *sb, struct CodaFid *fid);
 int venus_statfs(struct dentry *dentry, struct kstatfs *sfs);
+int venus_access_intent(struct super_block *sb, struct CodaFid *fid,
+			bool *access_intent_supported,
+			size_t count, loff_t ppos, int type);
 
 /*
  * Statistics