[PATCH] Quota compilation fix

From: Philippe Troin
Date: Fri Feb 20 2004 - 15:27:49 EST


Enclosed patch allows kernel compilation when CONFIG_QFMT_V2=y.

Phil.
diff -ruN linux-2.4.25.orig/fs/buffer.c linux-2.4.25/fs/buffer.c
--- linux-2.4.25.orig/fs/buffer.c Wed Feb 18 13:14:11 2004
+++ linux-2.4.25/fs/buffer.c Wed Feb 18 13:14:20 2004
@@ -436,7 +436,7 @@
** after these are done
*/
sync_inodes(dev);
- DQUOT_SYNC(dev);
+ DQUOT_SYNC_DEV(dev);
/* if inodes or quotas could be dirtied during the
** sync_supers_lockfs call, the FS is responsible for getting
** them on disk, without deadlocking against the lock