lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 11/13] writeback: queue_dirty() on memory-backed bdi
Replace redirty_tail() with queue_dirty() on memory backed bdi.
It makes no difference - only simpler.

Cc: Michael Rubin <mrubin@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
---
fs/fs-writeback.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-mm.orig/fs/fs-writeback.c
+++ linux-mm/fs/fs-writeback.c
@@ -407,7 +407,7 @@ int generic_sync_sb_inodes(struct super_
int err;

if (!bdi_cap_writeback_dirty(bdi)) {
- redirty_tail(inode);
+ queue_dirty(inode);
if (sb_is_blkdev_sb(sb)) {
/*
* Dirty memory-backed blockdev: the ramdisk
--


\
 
 \ /
  Last update: 2008-01-15 13:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site