mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
9p: switch back to readdir()
This patch changes the 9p code to use readdir() again instead of readdir_r(), which is deprecated in glibc 2.24. All the locking was put in place by a previous patch. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
This commit is contained in:
parent
7cde47d4a8
commit
635324e83e
9 changed files with 42 additions and 55 deletions
|
@ -49,8 +49,7 @@
|
|||
|
||||
extern void co_run_in_worker_bh(void *);
|
||||
extern int v9fs_co_readlink(V9fsPDU *, V9fsPath *, V9fsString *);
|
||||
extern int v9fs_co_readdir_r(V9fsPDU *, V9fsFidState *,
|
||||
struct dirent *, struct dirent **result);
|
||||
extern int v9fs_co_readdir(V9fsPDU *, V9fsFidState *, struct dirent **);
|
||||
extern off_t v9fs_co_telldir(V9fsPDU *, V9fsFidState *);
|
||||
extern void v9fs_co_seekdir(V9fsPDU *, V9fsFidState *, off_t);
|
||||
extern void v9fs_co_rewinddir(V9fsPDU *, V9fsFidState *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue