All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 10/10] ocfs2: Handle different f_version types
Date: Tue, 10 Nov 2009 19:13:14 -0800	[thread overview]
Message-ID: <20091111031313.GE17774@mail.oracle.com> (raw)
In-Reply-To: <1257818413-32014-11-git-send-email-sunil.mushran@oracle.com>

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

      reply	other threads:[~2009-11-11  3:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10  2:00 [Ocfs2-devel] ocfs2 1.6 - second set of patches Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 01/10] ocfs2: Handle workqueue changes Sunil Mushran
2009-11-11  2:57   ` Joel Becker
2009-11-11 18:11     ` Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 02/10] ocfs2: Handle missing dlmconstants.h Sunil Mushran
2009-11-11  2:59   ` Joel Becker
2009-11-11 19:27     ` Sunil Mushran
2009-11-11 22:57       ` Joel Becker
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 03/10] ocfs2: Add helper task_pid_nr() Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 04/10] ocfs2: Enable CONFIG_OCFS2_FS_POSIX_ACL Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 05/10] ocfs2: Add helper current_umask() Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 06/10] ocfs2: Handle missing do_sync_mapping_range() Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 07/10] ocfs2: Handle struct f_path in struct file Sunil Mushran
2009-11-11  3:03   ` Joel Becker
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 08/10] ocfs2: Handle struct address_space_operations_ext Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 09/10] ocfs2: Handle missing USHORT_MAX Sunil Mushran
2009-11-10  2:00 ` [Ocfs2-devel] [PATCH 10/10] ocfs2: Handle different f_version types Sunil Mushran
2009-11-11  3:13   ` Joel Becker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091111031313.GE17774@mail.oracle.com \
    --to=joel.becker@oracle.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.