]> Zhao Yanbai Git Server - minix.git/commit
libfsdriver: preinitialize stat.st_ino 05/3005/1
authorDavid van Moolenbroek <david@minix3.org>
Sun, 21 Jun 2015 17:50:22 +0000 (17:50 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Tue, 23 Jun 2015 14:38:04 +0000 (14:38 +0000)
commit22840dea11f020ba466a94352f644d4f75e0e1fd
treeff23d3876693861a6835601bd3614f8d04405f95
parent07cbc27cb035cb35396ada075dab04b04317a259
libfsdriver: preinitialize stat.st_ino

The stat.st_ino field must always be filled with the inode number
given as part of the fdr_stat request anyway, so libfsdriver can
simply fill in the number and allow the file system not to bother.

Change-Id: Ia7a849d0b23dfc83010df0d48fa26e4225427694
lib/libpuffs/stadir.c
minix/fs/ext2/stadir.c
minix/fs/mfs/stadir.c
minix/fs/pfs/pfs.c
minix/lib/libfsdriver/call.c
minix/lib/libsffs/stat.c
minix/lib/libvtreefs/stadir.c