Michal Vitecek <M.Vitecek@sh.cvut.cz> writes:
> hello everyone,
>
> i think there's a bug in 2.2.13 kernel that causes it to OOPS when
> fchown()ing a socket - this is what i get when trying to do so:
Oopses nicely here on 2.2.14 too. Looks like a bug in the quota code
Here is a patch:
[Alan, looks like a 2.2.15 candidate]
-Andi
--- linux/include/linux/quotaops.h-o Tue May 2 14:00:17 2000
+++ linux/include/linux/quotaops.h Tue May 2 14:01:56 2000
@@ -98,7 +98,7 @@
{
int error = -EDQUOT;
- if (dentry->d_inode->i_sb->dq_op) {
+ if (dentry->d_inode->i_sb && dentry->d_inode->i_sb->dq_op) {
dentry->d_inode->i_sb->dq_op->initialize(dentry->d_inode, -1);
error = dentry->d_inode->i_sb->dq_op->transfer(dentry, iattr, current->fsuid);
} else {
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:10 EST