Message ID | CACGdZYLjD=g0Ye=L-iVNQ7y5+2_8uw1SLy2et2z70+wBQz4_2w@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/dcache.c b/fs/dcache.c index 22af360ceca3..3892e0eb7ec2 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1367,6 +1367,7 @@ struct select_data { struct dentry *start; struct list_head dispose; int found; + int actually_found; }; static enum d_walk_ret select_collect(void *_data, struct dentry *dentry) @@ -1388,6 +1389,7 @@ static enum d_walk_ret select_collect(void *_data, struct dentry *dentry) if (!dentry->d_lockref.count) { d_shrink_add(dentry, &data->dispose); data->found++; + data->actually_found++; } }