X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fdrop_caches.c;h=b6a719a909f8eee1829764ea770e879c1c9c73fe;hb=548cbdc858bb81d72fbcb91a196069559b2b4684;hp=44d725f612cf346ec2e4d9bf2801913de393b967;hpb=90f959bcb386da2c71613dcefc6a285e054a539e;p=linux-2.6-omap-h63xx.git 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;