Re: Reiser4 for Linux-2.6.36

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

 



Edward Shishkin wrote:
> ÐÑÐÐ ÐÐÐÐÐÐ wrote:
>   
>> The bug with building OpenOffice is still there though now it doesn't produce a kernel panic. The build script just randomly fails with IO exceptions.
>>     
>
> Is compression enabled (did you format
> the partition with "create=ccreg40" option)?
>
> Thanks for the report.

Ah, I see..
Could you please apply the attached patch?
Does it fix your problem?

Thanks,
Edward.


diff -urN linux-2.6.36.orig/fs/reiser4/plugin/file/cryptcompress.c linux-2.6.36/fs/reiser4/plugin/file/cryptcompress.c
--- linux-2.6.36.orig/fs/reiser4/plugin/file/cryptcompress.c	2010-11-22 04:34:19.000000000 +0100
+++ linux-2.6.36/fs/reiser4/plugin/file/cryptcompress.c	2010-11-22 04:39:34.000000000 +0100
@@ -3785,10 +3785,6 @@
 		ClearPageUptodate(page);
 		goto err0;
 	}
-	if (len != PAGE_CACHE_SIZE && !PageUptodate(page)) {
-		ret = RETERR(-EIO);
-		goto err0;
-	}
 	/* Success. All resources (including checkin_mutex)
 	   will be released in ->write_end() */
 	*fsdata = (void *)buf;

[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux