ceph: fix dn offset during readdir_prepopulate
Sage Weil authored
When adding the readdir results to the cache, ceph_set_dentry_offset was
clobbered our just-set offset.  This can cause the readdir result offsets
to get out of sync with the server.  Add an argument to the helper so
that it does not.

This bug was introduced by 1cd3935b

.
Signed-off-by: default avatarSage Weil <sage@newdream.net>
467c5251
Name Last commit Last update
..
crush ceph: clean up header guards
Kconfig ceph: Correct obvious typo of Kconfig variable "CRYPTO_AES"
Makefile ceph: add flock/fcntl lock support
README ceph: make object hash a pg_pool property
addr.c ceph: fix file offset wrapping at 4GB on 32-bit archs
armor.c ceph: code cleanup
auth.c ceph: code cleanup
auth.h ceph: renew auth tickets before they expire
auth_none.c ceph: renew auth tickets before they expire
auth_none.h ceph: add missing #includes
auth_x.c ceph: fix get_ticket_handler() error handling
auth_x.h ceph: add support for auth_x authentication protocol
auth_x_protocol.h ceph: add support for auth_x authentication protocol
buffer.c ceph: code cleanup
buffer.h ceph: buffer decoding helpers
caps.c ceph: maintain i_head_snapc when any caps are dirty, not just for data
ceph_debug.h ceph: client types
ceph_frag.c ceph: client types
ceph_frag.h ceph: clean up header guards
ceph_fs.c ceph: request FILE_LAZYIO cap when LAZY file mode is set
ceph_fs.h ceph: define on-wire types, constants for file locking support
ceph_hash.c ceph: whitespace cleanup
ceph_hash.h ceph: clean up header guards
ceph_strings.c ceph: define on-wire types, constants for file locking support
crypto.c ceph: move AES iv definition to shared header
crypto.h
debugfs.c
decode.h
dir.c
export.c
file.c
inode.c
ioctl.c
ioctl.h
locks.c
mds_client.c
mds_client.h
mdsmap.c
mdsmap.h
messenger.c
messenger.h
mon_client.c
mon_client.h
msgpool.c
msgpool.h
msgr.h
osd_client.c
osd_client.h
osdmap.c
osdmap.h
pagelist.c
pagelist.h
rados.h
snap.c
super.c
super.h
types.h
xattr.c
#
# The following files are shared by (and manually synchronized
# between) the Ceph userland and kernel client.
#
# userland                  kernel
src/include/ceph_fs.h	    fs/ceph/ceph_fs.h
src/include/ceph_fs.cc	    fs/ceph/ceph_fs.c
src/include/msgr.h	    fs/ceph/msgr.h
src/include/rados.h	    fs/ceph/rados.h
src/include/ceph_strings.cc fs/ceph/ceph_strings.c
src/include/ceph_frag.h	    fs/ceph/ceph_frag.h
src/include/ceph_frag.cc    fs/ceph/ceph_frag.c
src/include/ceph_hash.h	    fs/ceph/ceph_hash.h
src/include/ceph_hash.cc    fs/ceph/ceph_hash.c
src/crush/crush.c	    fs/ceph/crush/crush.c
src/crush/crush.h	    fs/ceph/crush/crush.h
src/crush/mapper.c	    fs/ceph/crush/mapper.c
src/crush/mapper.h	    fs/ceph/crush/mapper.h
src/crush/hash.h	    fs/ceph/crush/hash.h
src/crush/hash.c	    fs/ceph/crush/hash.c