linux-hardened/fs/ceph
Sage Weil 41b02e1f9b ceph: explicitly reference rename old_dentry parent dir in request
We carry a pin on the parent directory for the rename source and dest
dentries.  For the source it's r_locked_dir; we need to explicitly
reference the old_dentry parent as well, since the dentry's d_parent may
change between when the request was created and pinned and when it is
freed.

Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
2011-07-26 11:31:14 -07:00
..
addr.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
caps.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: explicitly reference rename old_dentry parent dir in request 2011-07-26 11:31:14 -07:00
dir.c ceph: explicitly reference rename old_dentry parent dir in request 2011-07-26 11:31:14 -07:00
export.c ceph: avoid d_parent in ceph_dentry_hash; fix ceph_encode_fh() hashing bug 2011-07-26 11:30:55 -07:00
file.c ceph: protect access to d_parent 2011-07-26 11:30:29 -07:00
inode.c ceph: document locking for ceph_set_dentry_offset 2011-07-26 11:31:08 -07:00
ioctl.c ceph: protect access to d_parent 2011-07-26 11:30:29 -07:00
ioctl.h ceph: add F_SYNC file flag to force sync (non-O_DIRECT) io 2011-07-26 11:26:07 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: unwind canceled flock state 2011-06-07 21:36:45 -07:00
Makefile ceph: Makefile: Remove unnessary code 2011-01-12 15:15:13 -08:00
mds_client.c ceph: explicitly reference rename old_dentry parent dir in request 2011-07-26 11:31:14 -07:00
mds_client.h ceph: explicitly reference rename old_dentry parent dir in request 2011-07-26 11:31:14 -07:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: only queue capsnap if caps are dirty 2011-07-26 11:26:41 -07:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c ceph: set up readahead size when rsize is not passed 2011-07-26 11:29:14 -07:00
super.h ceph: avoid d_parent in ceph_dentry_hash; fix ceph_encode_fh() hashing bug 2011-07-26 11:30:55 -07:00
xattr.c ceph: protect access to d_parent 2011-07-26 11:30:29 -07:00