patch-2.4.0-test3 linux/include/linux/quotaops.h

Next file: linux/include/linux/sched.h
Previous file: linux/include/linux/qnx4_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/include/linux/quotaops.h linux/include/linux/quotaops.h
@@ -96,10 +96,8 @@
 	int error = -EDQUOT;
 
 	if (dentry->d_inode->i_sb->dq_op) {
-		lock_kernel();
 		dentry->d_inode->i_sb->dq_op->initialize(dentry->d_inode, -1);
 		error = dentry->d_inode->i_sb->dq_op->transfer(dentry, iattr);
-		unlock_kernel();
 	} else {
 		error = notify_change(dentry, iattr);
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)