fstatfs64: add missing f_flags assignment
Florian Weimer
fw@deneb.enyo.de
Sun Nov 22 10:45:03 GMT 2020
* Chen Li:
> in d3a5ae6ad16, f_flags is added into statfs64, but fstatfs64 also misss copying
> f_flags from kernel too.
>
> 1 file changed, 1 insertion(+)
> sysdeps/unix/sysv/linux/fstatfs64.c | 1 +
>
> modified sysdeps/unix/sysv/linux/fstatfs64.c
> @@ -76,6 +76,7 @@ __fstatfs64 (int fd, struct statfs64 *buf)
> buf->f_fsid = buf32.f_fsid;
> buf->f_namelen = buf32.f_namelen;
> buf->f_frsize = buf32.f_frsize;
> + buf->f_flags = buf32.f_flags;
> memcpy (buf->f_spare, buf32.f_spare, sizeof (buf32.f_spare));
The patch is corrupted. Would you please repost a fixed version? Thanks.
More information about the Libc-alpha
mailing list