[Ocfs2-devel] [PATCH 1/2] Ocfs2: Move ocfs2 ioctl definitions from ocfs2_fs.h to new added ocfs2_ioctl.h.

Joel Becker Joel.Becker at oracle.com
Mon Mar 1 19:29:45 PST 2010


On Tue, Mar 02, 2010 at 11:13:22AM +0800, tristan wrote:
> > 	That's right, you put it in the C sources.  This way we know
> > what includes each C file has, and only the C files needing the include
> > file actually include it.
> >   
> 
> I'm fine with this:)
> 
> BTW, it's a bad idea to add ocfs2_ioctl.h to ocfs2.h? it's not generic 
> enough to be there to let every C file refer it? right?

	I'm wavering on this.  We have ocfs2_fs.h and ocfs2_lockid.h in
there, but not ocfs2_lockingver.h...

Oh, hell, put it in ocfs2.h right by the other ocfs2_*.h headers.  Can't
hurt.

Joel

-- 

"This is the end, beautiful friend.
 This is the end, my only friend the end
 Of our elaborate plans, the end
 Of everything that stands, the end
 No safety or surprise, the end
 I'll never look into your eyes again."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list