mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-08 03:30:46 +00:00
Without this we return -ESPIPE when a process tries to seek on a regular file. Signed-off-by: Mark Fasheh <mfasheh@versity.com> [zab: adapted to new lock call] Signed-off-by: Zach Brown <zab@zabbo.net>
12 lines
453 B
C
12 lines
453 B
C
#ifndef _SCOUTFS_FILE_H_
|
|
#define _SCOUTFS_FILE_H_
|
|
|
|
ssize_t scoutfs_file_aio_read(struct kiocb *iocb, const struct iovec *iov,
|
|
unsigned long nr_segs, loff_t pos);
|
|
ssize_t scoutfs_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
|
|
unsigned long nr_segs, loff_t pos);
|
|
int scoutfs_permission(struct inode *inode, int mask);
|
|
loff_t scoutfs_file_llseek(struct file *file, loff_t offset, int whence);
|
|
|
|
#endif /* _SCOUTFS_FILE_H_ */
|