On Thu, 2005-01-27 at 14:04, Timothy R. Chavez wrote:
Then again, now that I think about this a little more... This
won't
work. With only the inode, I'll have to automatically allocate space
for i_audit regardless of whether or not its being watched.
I wasn't suggesting allocating the data there. I just saying that you
need to remove the #ifdef's from alloc_inode and destroy_inode and
replace them with unconditional calls to static inline functions, which
in turn can be defined away to nothing if the config option is disabled,
per Documentation/SubmittingPatches section 2. No real change in the
code, just avoiding #ifdefs in fs/inode.c.
--
Stephen Smalley <sds(a)epoch.ncsc.mil>
National Security Agency