public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.2 fs/inode.c
@ 2001-03-22 18:42 Jan Harkes
  2001-03-22 19:04 ` Stephen C. Tweedie
  2001-03-26 17:51 ` Chris Mason
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Harkes @ 2001-03-22 18:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, alan, Alexander Viro, Stephen C. Tweedie


I found some code that seems wrong and didn't even match it's comment.
Patch is against 2.4.2, but should go cleanly against 2.4.3-pre6 as well.

Jan


--- linux/fs/inode.c.orig	Thu Mar 22 13:20:55 2001
+++ linux/fs/inode.c	Thu Mar 22 13:21:32 2001
@@ -133,7 +133,7 @@
 
 	if (sb) {
 		/* Don't do this for I_DIRTY_PAGES - that doesn't actually dirty the inode itself */
-		if (flags & (I_DIRTY | I_DIRTY_SYNC)) {
+		if (flags & (I_DIRTY_SYNC | I_DIRTY_DATASYNC)) {
 			if (sb->s_op && sb->s_op->dirty_inode)
 				sb->s_op->dirty_inode(inode);
 		}

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

end of thread, other threads:[~2001-03-26 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-22 18:42 2.4.2 fs/inode.c Jan Harkes
2001-03-22 19:04 ` Stephen C. Tweedie
2001-03-22 19:32   ` Jan Harkes
2001-03-22 20:21   ` Chris Mason
2001-03-26 17:51 ` Chris Mason

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