ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Проблема: kernel -> file_operations
Date: Wed, 26 Mar 2008 07:25:48 +0300
Message-ID: <20080326042548.GA23120@mw.office.seiros.ru> (raw)
In-Reply-To: <20080325103035.GN3835@newmaster.mivlgu.local>

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

On Tue, Mar 25, 2008 at 01:30:35PM +0300, Sergey Vlasov wrote:

>> На наших ядрах 2.6.24 это не работает, ибо в в linux/fs.h описание
>> file_operations не содержит этих полей. В 2.6.18 -- содержит.
SV> Правильно - эти методы удалили ещё в 2.6.19.  Апстрим с тех пор так и
SV> не озадачился поддержкой свежих ядер?

Виноват оказался OSLEC-патч (поддержка человеческого программного
эхоподавления). 

>> Соответственно с 2.6.24 код не компилируется.
>> Что с этим делать?
SV> Если это только NULL - просто удалить инициализацию этих полей;
SV> неуказанные поля в static-структуре будут установлены в 0
SV> автоматически.

Сделал, спасибо.

-- 
С уважением, Денис

http://freesource.info
----------------------------------------------------------------------------

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      reply	other threads:[~2008-03-26  4:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25  6:01 Денис Смирнов
2008-03-25  6:49 ` Михаил Якушин
2008-03-26  4:26   ` Денис Смирнов
2008-03-25 10:30 ` Sergey Vlasov
2008-03-26  4:25   ` Денис Смирнов [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=20080326042548.GA23120@mw.office.seiros.ru \
    --to=mithraen@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git