tmp_suning_uos_patched/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 libceph: delay debugfs initialization until we learn global_id 2012-08-20 10:03:15 -07:00
dir.c ceph: fix __dcache_readdir() 2014-02-17 12:37:13 -08:00
export.c fs: encode_fh: return FILEID_INVALID if invalid fid_type 2013-02-26 02:46:10 -05:00
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 ceph: fully initialize new layout 2012-05-16 14:28:27 -05:00
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 ceph: use ceph_create_snap_context() 2013-05-01 21:20:09 -07:00
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