summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-07-26 20:27:48 +0200
committerSage Weil <sage@newdream.net>2011-07-26 20:27:48 +0200
commitacda76578813ef893004ecad0e5ad2bb6039e5f7 (patch)
treed77d818eb8e783437e25d7590dd9864001a7e1b3 /mm/backing-dev.c
parentceph: avoid carrying Fw cap during write into page cache (diff)
downloadlinux-acda76578813ef893004ecad0e5ad2bb6039e5f7.tar.xz
linux-acda76578813ef893004ecad0e5ad2bb6039e5f7.zip
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>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions