[Ocfs2-devel] [PATCH 10/10] ocfs2: Handle different f_version types
Joel Becker
Joel.Becker at oracle.com
Tue Nov 10 19:13:14 PST 2009
On Mon, Nov 09, 2009 at 06:00:13PM -0800, Sunil Mushran wrote:
> Mainline commit 2b47c3611de05c585e2d81204f6c7e3e255a3461 changed type of
> file->f_version from unsigned long to u64. This patch allows building with
> kernels having either definition. Build fails if the type is something else.
I was trying to come up with a way to not create f_version_t.
You know, pass around a u64 and cast it when comparing to
inode->i_version. But I'm not terribly happy with that, so I guess we
leave f_version_t. Please reorganize it so that kapi-include/ is not
needed for mainline.
Joel
--
"In the beginning, the universe was created. This has made a lot
of people very angry, and is generally considered to have been a
bad move."
- Douglas Adams
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