Query on shrink list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Al Viro,

Is there is reason we have kept data->found++, if the dentry already there in shrink list ?

static enum d_walk_ret select_collect(
...
        if (dentry->d_flags & DCACHE_SHRINK_LIST) {
                data->found++;
        } else {
  ..

If the dentry is already there on shrink list, does it not mean that data->found is already non-zero ?
Can't we just go out from here directly?


Regards,
Mukesh




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux