ceph: remove unnecessary checks in __dcache_readdir
authorYan, Zheng <zyan@redhat.com>
Fri, 29 Apr 2016 07:58:32 +0000 (15:58 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:34 +0000 (01:15 +0200)
commit1cd42a429174689c0df1c37b642654a1ab4d1506
tree871470eeada092d62fb9d8d0b5ecdeb51adf3470
parentc530cd24c23818af8da35fe556f9a7754211e50a
ceph: remove unnecessary checks in __dcache_readdir

we never add snapdir and the hidden .ceph dir into readdir cache

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/dir.c