patch-1.3.51 linux/fs/file_table.c

Next file: linux/fs/inode.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.50/linux/fs/file_table.c linux/fs/file_table.c
@@ -4,6 +4,7 @@
  *  Copyright (C) 1991, 1992  Linus Torvalds
  */
 
+#include <linux/config.h>
 #include <linux/fs.h>
 #include <linux/string.h>
 #include <linux/mm.h>
@@ -120,6 +121,8 @@
 	return NULL;
 }
 
+#ifdef CONFIG_QUOTA
+
 void add_dquot_ref(dev_t dev, short type)
 {
 	struct file *filp;
@@ -149,3 +152,5 @@
 		}
 	}
 }
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this