Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.101 /fs/buffer.c

Filename:/fs/buffer.c
Lines Added:5
Lines Deleted:4
Also changed in: (Previous) 2.1.100  2.1.94  2.1.92  2.1.91  2.1.90  2.1.89 
(Following) 2.1.102  2.1.104  2.1.107  2.1.118  2.1.126  2.1.129 

Location
[  2.1.101
  [  fs
     o  buffer.c

Patch

diff -u --recursive --new-file v2.1.100/linux/fs/buffer.c linux/fs/buffer.c
--- v2.1.100/linux/fs/buffer.c   Thu May  7 22:51:52 1998
+++ linux/fs/buffer.c   Fri May  8 17:54:39 1998
@@ -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);
 }
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.