patch-2.1.101 linux/drivers/char/sysrq.c
Next file: linux/drivers/macintosh/Makefile
Previous file: linux/drivers/char/hfmodem/refclock.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri May 8 17:54:39 1998
- Orig file:
v2.1.100/linux/drivers/char/sysrq.c
- Orig date:
Thu Feb 12 20:56:06 1998
diff -u --recursive --new-file v2.1.100/linux/drivers/char/sysrq.c linux/drivers/char/sysrq.c
@@ -19,6 +19,7 @@
#include <linux/reboot.h>
#include <linux/sysrq.h>
#include <linux/kbd_kern.h>
+#include <linux/quotaops.h>
#include <asm/ptrace.h>
#include <asm/smp_lock.h>
@@ -188,7 +189,7 @@
printk("R/O\n");
return;
}
- quota_off(dev, -1);
+ DQUOT_OFF(dev);
fsync_dev(dev);
flags = MS_RDONLY;
if (sb->s_op && sb->s_op->remount_fs) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov