[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dazuko-devel] patch 1 for dazukofs release 3.0.0
From: |
Lino Sanfilippo |
Subject: |
[Dazuko-devel] patch 1 for dazukofs release 3.0.0 |
Date: |
Tue, 21 Apr 2009 17:39:44 +0200 |
User-agent: |
IceDove 1.5.0.14eol (X11/20090105) |
Hi all,
this is the first patch of a series of patches that fixes some bugs,
that I encountered while
testing dazukofs on various platforms. Please apply the patches
consecutively.
I will do a short description for each bug:
Bug description:
On 32 Bit systems large file support may not be enabled. This prevents
processes from opening
files larger than 4 GB.
This may cause a failure of the dentry_open() function which is used by
dazukofs to get a
file descriptor for an accessed file.
This failure results in the file accessing process hanging infinitely
while the dazukofs kernel code
tries to get an open file descriptor again and again, always failing due
to the file size limits.
The solution is to open the file explicitly with large file support
enabled by setting the
O_LARGEFILE flag.
Geschäftsführender Gesellschafter: Tjark Auerbach
Sitz der Gesellschaft: Tettnang
Handelsregister: Amtsgericht Ulm, HRB 630992
ALLGEMEINE GESCHÄFTSBEDINGUNGEN
Es gelten unsere Allgemeinen Geschäftsbedingungen
(AGB). Sie finden sie in der jeweils gültigen Fassung
im Internet unter http://www.avira.de/agb
***************************************************
diff -rup dazukofs-3.0.0/event.c dazukofs-3.0.0-p1/event.c
--- dazukofs-3.0.0/event.c 2009-02-22 17:44:03.000000000 +0100
+++ dazukofs-3.0.0-p1/event.c 2009-03-15 18:25:44.000000000 +0100
@@ -928,7 +928,8 @@ static int open_file(struct dazukofs_eve
/* add myself to be ignored on file open (to avoid recursion) */
mask_proc(&proc);
- ec->file = dentry_open(dget(evt->dentry), mntget(evt->mnt), O_RDONLY);
+ ec->file = dentry_open(dget(evt->dentry), mntget(evt->mnt),
+ O_RDONLY | O_LARGEFILE);
if (IS_ERR(ec->file)) {
check_recursion(); /* remove myself from proc_list */
ret = PTR_ERR(ec->file);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dazuko-devel] patch 1 for dazukofs release 3.0.0,
Lino Sanfilippo <=