]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vfs: convert nameiop into an enum
authorMateusz Guzik <mjg@FreeBSD.org>
Sun, 23 Aug 2020 21:05:39 +0000 (21:05 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Sun, 23 Aug 2020 21:05:39 +0000 (21:05 +0000)
commit4b5001196a469819f97ba8f50be2e3bcd8cfcfd1
tree60bd66a4683e769097db73c74f41c2c8e611f833
parent9ce9158b53daa73d314b9ce6c02ecd6bce7a6192
vfs: convert nameiop into an enum

While here change the field size from long to int and move it into the
gap next to cn_flags.

Shrinks struct componentname from 64 to 56 bytes on amd64.
sys/kern/vfs_lookup.c
sys/sys/namei.h