linux/fs/ceph
Yan, Zheng 4d5f5df673 ceph: fix __dcache_readdir()
If directory is fragmented, readdir() read its dirfrags one by one.
After reading all dirfrags, the corresponding dentries are sorted in
(frag_t, off) order in the dcache. If dentries of a directory are all
cached, __dcache_readdir() can use the cached dentries to satisfy
readdir syscall. But when checking if a given dentry is after the
position of readdir, __dcache_readdir() compares numerical value of
frag_t directly. This is wrong, it should use ceph_frag_compare().

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-02-17 12:37:13 -08:00
..
acl.c ceph: make ceph_forget_all_cached_acls() static inline 2014-02-17 12:37:12 -08:00
addr.c ceph: fix dout() compile warnings in ceph_filemap_fault() 2014-01-28 09:57:06 -08:00
cache.c Merge branch 'for-linus-bugs' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2013-11-26 18:02:46 -08:00
cache.h ceph fscache: Introduce a routine for uncaching single no data page from fscache 2013-12-31 20:32:02 +02:00
caps.c ceph: add imported caps when handling cap export message 2014-01-21 16:30:31 +08:00
ceph_frag.c
debugfs.c
dir.c ceph: fix __dcache_readdir() 2014-02-17 12:37:13 -08:00
export.c
file.c ceph: add missing init_acl() for mkdir() and atomic_open() 2014-02-17 12:37:11 -08:00
inode.c ceph: fix posix ACL hooks 2014-01-29 16:05:28 -08:00
ioctl.c libceph: replace ceph_calc_ceph_pg() with ceph_oloc_oid_to_pg() 2014-01-27 23:57:32 +02:00
ioctl.h
Kconfig ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
locks.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2013-07-09 12:39:10 -07:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: add open export target session helper 2014-01-21 16:30:30 +08:00
mds_client.h ceph: add open export target session helper 2014-01-21 16:30:30 +08:00
mdsmap.c ceph: tidy ceph_mdsmap_decode() a little 2013-07-01 09:52:02 -07:00
snap.c
strings.c ceph: handle session flush message 2014-01-21 13:29:33 +08:00
super.c ceph: add acl, noacl options for cephfs mount 2014-02-17 12:37:12 -08:00
super.h ceph: make ceph_forget_all_cached_acls() static inline 2014-02-17 12:37:12 -08:00
xattr.c ceph: fix ceph_removexattr() 2014-02-17 12:37:10 -08:00