patch-2.2.16 linux/include/linux/quotaops.h
Next file: linux/include/linux/smb_fs.h
Previous file: linux/include/linux/proc_fs.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 7 14:26:44 2000
- Orig file:
v2.2.15/linux/include/linux/quotaops.h
- Orig date:
Tue Oct 26 17:53:42 1999
diff -urN v2.2.15/linux/include/linux/quotaops.h linux/include/linux/quotaops.h
@@ -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 {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)