Skip to contentSkip to conversation

Quota compilation fix

PATCH In review Philippe Troin 2 participants 3 messages Feb 20, 2004 – Feb 24, 2004 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Quota compilation fix

Enclosed patch allows kernel compilation when CONFIG_QFMT_V2=y.

Phil.

fs/buffer.c +1 -1
diff -ruN linux-2.4.25.orig/fs/buffer.c linux-2.4.25/fs/buffer.c
@@ -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
reviewer
#1 lore raw
Quoted 1 line

Enclosed patch allows kernel compilation when CONFIG_QFMT_V2=y.

It looks like you have wrongly patched kernel - I don't see the
DQUOT_SYNC() call in my 2.4.25 tree...

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SuSE CR Labs
#2 lore raw
Quoted 3 lines · Jan Kara
Quoted 1 line

Enclosed patch allows kernel compilation when CONFIG_QFMT_V2=y.

It looks like you have wrongly patched kernel - I don't see the
DQUOT_SYNC() call in my 2.4.25 tree...

You're right, my bad. I have it because of another patch (namely the LVM vfs-lock patch).

Marcelo, please discard this patch.

Phil.