From: Bill Davidsen <davidsen@tmr.com>
To: Nikola Ciprich <extmaillist@linuxbox.cz>
Cc: KVM list <kvm@vger.kernel.org>, nikola.ciprich@linuxbox.cz
Subject: Re: [PATH] kvm-72 - fix compilation on 2.6.26 (anon_inode_getfd flag)
Date: Tue, 29 Jul 2008 16:26:50 -0400 [thread overview]
Message-ID: <488F7D0A.1000509@tmr.com> (raw)
In-Reply-To: <20080729085556.GA32410@develbox.linuxbox.cz>
Nikola Ciprich wrote:
> Hi,
> anon_inode_getfd flag parameter was added after 2.6.26
> following patch fixes compilation
> please apply
> thanks
> nik
>
>
>
> ------------------------------------------------------------------------
>
> diff -Naur kvm-72/kernel/anon_inodes.c kvm-72-fix-2.6.26-anon-inode/kernel/anon_inodes.c
> --- kvm-72/kernel/anon_inodes.c 2008-07-27 12:08:56.000000000 +0200
> +++ kvm-72-fix-2.6.26-anon-inode/kernel/anon_inodes.c 2008-07-29 10:36:51.000000000 +0200
> @@ -245,6 +245,15 @@
> return fd;
> }
>
> +#elif LINUX_VERSION_CODE == KERNEL_VERSION(2,6,26)
Should that be ">=" for future use?
> +
> +int kvm_anon_inode_getfd(const char *name,
> + const struct file_operations *fops,
> + void *priv, int flags)
> +{
> + return anon_inode_getfd(name, fops, priv);
> +}
> +
> #else
>
> int kvm_anon_inode_getfd(const char *name,
--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
next prev parent reply other threads:[~2008-07-29 20:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 8:55 [PATH] kvm-72 - fix compilation on 2.6.26 (anon_inode_getfd flag) Nikola Ciprich
2008-07-29 20:26 ` Bill Davidsen [this message]
2008-07-29 20:49 ` Nikola Ciprich
2008-07-30 14:34 ` Avi Kivity
2008-07-30 16:10 ` Nikola Ciprich
2008-07-31 10:56 ` Avi Kivity
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=488F7D0A.1000509@tmr.com \
--to=davidsen@tmr.com \
--cc=extmaillist@linuxbox.cz \
--cc=kvm@vger.kernel.org \
--cc=nikola.ciprich@linuxbox.cz \
/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.