Package: kernel-source-2.6.8 Version: 2.6.8-15 Severity: normal Tags: patch
There is a subtle bug in error handling of ext2 and ext3 xattrs. When ext2_sync_inode() or ext3_xattr_block_set() fails because it could not write the inode's dirty data (ENOSPC), it doesn't keep the xattrs in a consistent state and fails to release the old block properly. This results in incorrect quota in ext2 and ext3... this is problematic in disk limit accounting environments (quota, vservers, etc.) A patch that fixes this in both ext2 and ext3 has been accepted in mainline 2.6.11, and appears to be very simple. The following is the simple patch to ext2 to fix this: http://lkml.org/lkml/diff/2005/1/27/68/1 The following is the simple patch to ext3 to fix this: http://lkml.org/lkml/diff/2005/1/26/174/2 Micah -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages kernel-source-2.6.8 depends on: ii binutils 2.15-5 The GNU assembler, linker and bina ii bzip2 1.0.2-5 high-quality block-sorting file co ii coreutils [fileutils] 5.2.1-2 The GNU core utilities ii fileutils 5.2.1-2 The GNU file management utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]