[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dazuko-devel] 2.6.27 kernels

From: Frantisek Hrbata
Subject: Re: [Dazuko-devel] 2.6.27 kernels
Date: Wed, 27 Aug 2008 15:40:42 +0200

On Mon, 25 Aug 2008 11:14:08 -0600
Ann Davis <address@hidden> wrote:

> Hello,
> I noticed the device API changed (again) in 2.6.27.  :-(  Are there 
> plans to have dazuko 2.3.6 support the 2.6.27 kernels?  It looks like 
> linux_dev_conf, dazuko_linux.c, dazuko_linux26.c and dazuko_redirfs.c 
> will have to change.


here is a quick patch for dazuko + redirfs which allows dazuko to run
on 2.6.27 kernel. The patch is made against the dazuko-2.3.6-pre2 release
and tested with the redirfs 0.3 release. Just copy this patch to the
dazuko-2.3.6-pre2 source dir and run "patch -p1 < dazuko_redirfs_2.6.27.patch".

Some details about this patch.

1) Reflects move of the semaphore.h header.

2) Changes dazukoflt priority - irrelevant.

3) Dazuko uses open instead of permission function.
   This has one side effect. Dazuko is not able to
   distinguish open and exec events. Anyway exec events
   are send as open events.

4) Reflected changes in the device_create interface and some

5) Proper class_destroy

This patch definitely needs John's review but for now it may help
to run dazuko on 2.6.27 with redirfs.


Attachment: dazuko_redirfs_2.6.27.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]