patch-1.3.46 linux/fs/buffer.c

Next file: linux/fs/dquot.c
Previous file: linux/fs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.45/linux/fs/buffer.c linux/fs/buffer.c
@@ -222,6 +222,7 @@
 	sync_supers(dev);
 	sync_inodes(dev);
 	sync_buffers(dev, 0);
+	sync_dquots(dev, -1);
 }
 
 int fsync_dev(kdev_t dev)
@@ -229,6 +230,7 @@
 	sync_buffers(dev, 0);
 	sync_supers(dev);
 	sync_inodes(dev);
+	sync_dquots(dev, -1);
 	return sync_buffers(dev, 1);
 }
 

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