mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
hw/9pfs: Add st_gen support in getattr reply
This patch use file system specific ioctl for getting i_generation value. Not all file system support the ioctl. So we add an export specific extended operation and assign right callback for the file system that support i_generation ioctl ["M. Mohan Kumar" <mohan@in.ibm.com> we can do ioctl only for regular files and directories on the server] Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
parent
9844081bca
commit
e06a765efb
7 changed files with 116 additions and 1 deletions
|
@ -101,4 +101,7 @@ extern int v9fs_co_preadv(V9fsPDU *, V9fsFidState *,
|
|||
struct iovec *, int, int64_t);
|
||||
extern int v9fs_co_name_to_path(V9fsPDU *, V9fsPath *,
|
||||
const char *, V9fsPath *);
|
||||
extern int v9fs_co_st_gen(V9fsPDU *pdu, V9fsPath *path, mode_t,
|
||||
V9fsStatDotl *v9stat);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue