diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /drivers/char/sysrq.c | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'drivers/char/sysrq.c')
-rw-r--r-- | drivers/char/sysrq.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index a518f6b6a..c70ec0e1f 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c @@ -19,8 +19,10 @@ #include <linux/reboot.h> #include <linux/sysrq.h> #include <linux/kbd_kern.h> +#include <linux/quotaops.h> +#include <linux/smp_lock.h> + #include <asm/ptrace.h> -#include <asm/smp_lock.h> #ifdef CONFIG_APM #include <linux/apm_bios.h> @@ -188,7 +190,7 @@ static void go_sync(kdev_t dev, int remount_flag) 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) { |