patch-2.4.22 linux-2.4.22/fs/super.c
Next file: linux-2.4.22/include/acpi/acconfig.h
Previous file: linux-2.4.22/fs/stat.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
2003-08-25 04:44:43.000000000 -0700
-  Orig file: 
linux-2.4.21/fs/super.c
-  Orig date: 
2003-06-13 07:51:37.000000000 -0700
diff -urN linux-2.4.21/fs/super.c linux-2.4.22/fs/super.c
@@ -27,6 +27,7 @@
 #include <linux/devfs_fs_kernel.h>
 #include <linux/major.h>
 #include <linux/acct.h>
+#include <linux/quotaops.h>
 
 #include <asm/uaccess.h>
 
@@ -281,6 +282,8 @@
 		sema_init(&s->s_dquot.dqoff_sem, 1);
 		s->s_maxbytes = MAX_NON_LFS;
 		s->s_op = &empty_sops;
+		s->dq_op = sb_dquot_ops;
+		s->s_qcop = sb_quotactl_ops;
 	}
 	return s;
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)