linux-kernel-test/fs/ceph
Sage Weil acda765788 ceph: fix bad parent_inode calc in ceph_lookup_open
We were always getting NULL here because the intent file f_dentry is always
NULL at this point, which means we were always passing NULL to
ceph_mdsc_do_request.  In reality, this was fine, since this isn't
currently ever a write operation that needs to get strung on the dir's
unsafe list.

Use the dir explicitly, and only pass it if this open has side-effects that
a dir fsync should flush.

Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
2011-07-26 11:27:48 -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: remove debugfs debug cruft 2011-03-21 12:24:20 -07:00
dir.c ceph: use flag bit for at_end readdir flag 2011-07-26 11:26:18 -07:00
export.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
file.c ceph: fix bad parent_inode calc in ceph_lookup_open 2011-07-26 11:27:48 -07:00
inode.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00
ioctl.c ceph: add F_SYNC file flag to force sync (non-O_DIRECT) io 2011-07-26 11:26:07 -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 analog of cifs build_path_from_dentry() race fix 2011-07-16 23:43:58 -04:00
mds_client.h ceph: fix cap flush race reentrancy 2011-05-24 11:52:12 -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: report f_bfree based on kb_avail rather than diffing. 2011-07-26 11:27:06 -07:00
super.h ceph: use flag bit for at_end readdir flag 2011-07-26 11:26:18 -07:00
xattr.c ceph: use ihold when we already have an inode ref 2011-06-07 21:34:11 -07:00