public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Quota compilation fix
@ 2004-02-20 20:13 Philippe Troin
  2004-02-24 12:26 ` Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Troin @ 2004-02-20 20:13 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Enclosed patch allows kernel compilation when CONFIG_QFMT_V2=y.

Phil.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: linux-2.4.25-new-quotas.patch --]
[-- Type: text/x-patch, Size: 464 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Quota compilation fix
  2004-02-20 20:13 [PATCH] Quota compilation fix Philippe Troin
@ 2004-02-24 12:26 ` Jan Kara
  2004-02-24 19:52   ` Philippe Troin
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kara @ 2004-02-24 12:26 UTC (permalink / raw)
  To: Philippe Troin; +Cc: Marcelo Tosatti, linux-kernel

> 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


-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Quota compilation fix
  2004-02-24 12:26 ` Jan Kara
@ 2004-02-24 19:52   ` Philippe Troin
  0 siblings, 0 replies; 3+ messages in thread
From: Philippe Troin @ 2004-02-24 19:52 UTC (permalink / raw)
  To: Jan Kara; +Cc: Marcelo Tosatti, linux-kernel

Jan Kara <jack@suse.cz> writes:

> > 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-24 19:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-20 20:13 [PATCH] Quota compilation fix Philippe Troin
2004-02-24 12:26 ` Jan Kara
2004-02-24 19:52   ` Philippe Troin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox