Message ID | 20190520214911.1460-1-pvorel@suse.cz |
---|---|
State | Deferred |
Delegated to: | Petr Vorel |
Headers | show |
Series | lapi/ustat.h: Replace daddr_t with long | expand |
Hi! > daddr_t is usually typedef to __kernel_daddr_t, > which is int or long. Well the size must match, so unless you have checked that it's defined to int only in cases where sizeof(int) == sizeof(long) this change is not correct.
diff --git a/include/lapi/ustat.h b/include/lapi/ustat.h index 12c073582..030179c4a 100644 --- a/include/lapi/ustat.h +++ b/include/lapi/ustat.h @@ -11,7 +11,7 @@ # include <sys/ustat.h> #else struct ustat { - daddr_t f_tfree; + long f_tfree; ino_t f_tinode; char f_fname[6]; char f_fpack[6];