X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fdrop_caches.c;h=b6a719a909f8eee1829764ea770e879c1c9c73fe;hb=300df7dc89cc276377fc020704e34875d5c473b6;hp=44d725f612cf346ec2e4d9bf2801913de393b967;hpb=ef5ddd3d591399f2c722a77bce543d20bef31663;p=~andy%2Flinux diff --git a/fs/drop_caches.c b/fs/drop_caches.c index 44d725f612c..b6a719a909f 100644 --- a/fs/drop_caches.c +++ b/fs/drop_caches.c @@ -18,7 +18,7 @@ static void drop_pagecache_sb(struct super_block *sb) spin_lock(&inode_lock); list_for_each_entry(inode, &sb->s_inodes, i_sb_list) { - if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) + if (inode->i_state & (I_FREEING|I_CLEAR|I_WILL_FREE|I_NEW)) continue; if (inode->i_mapping->nrpages == 0) continue;