patch-2.1.101 linux/fs/buffer.c
Next file: linux/fs/dquot.c
Previous file: linux/fs/affs/super.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri May 8 17:54:39 1998
- Orig file:
v2.1.100/linux/fs/buffer.c
- Orig date:
Thu May 7 22:51:52 1998
diff -u --recursive --new-file v2.1.100/linux/fs/buffer.c linux/fs/buffer.c
@@ -38,6 +38,7 @@
#include <linux/blkdev.h>
#include <linux/sysrq.h>
#include <linux/file.h>
+#include <linux/quotaops.h>
#include <asm/system.h>
#include <asm/uaccess.h>
@@ -266,9 +267,9 @@
sync_supers(dev);
sync_inodes(dev);
sync_buffers(dev, 0);
- sync_dquots(dev, -1);
- /*
- * FIXME(eric) we need to sync the physical devices here.
+ DQUOT_SYNC(dev);
+ /*
+ * FIXME(eric) we need to sync the physical devices here.
* This is because some (scsi) controllers have huge amounts of
* cache onboard (hundreds of Mb), and we need to instruct
* them to commit all of the dirty memory to disk, and we should
@@ -285,7 +286,7 @@
sync_buffers(dev, 0);
sync_supers(dev);
sync_inodes(dev);
- sync_dquots(dev, -1);
+ DQUOT_SYNC(dev);
return sync_buffers(dev, 1);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov