PFS_DELEN is the sum of the permanent part of the struct dirent and
fixed size for the name buffer PFS_NAMELEN. As r318736 was commited (ino64 project) the size of the permanent part of the struct dirent was changed, so calulate PFS_DELEN properly.
This commit is contained in:
parent
cc79d0fbd5
commit
44432a0ddb
@ -52,7 +52,7 @@ struct vnode;
|
||||
*/
|
||||
#define PFS_NAMELEN 24
|
||||
#define PFS_FSNAMELEN 16 /* equal to MFSNAMELEN */
|
||||
#define PFS_DELEN (8 + PFS_NAMELEN)
|
||||
#define PFS_DELEN (offsetof(struct dirent, d_name) + PFS_NAMELEN)
|
||||
|
||||
typedef enum {
|
||||
pfstype_none = 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user