[PATCH v2 0/4] ceph: dentry->d_name handing fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've sent variants of a couple of these patches individually, but needed
to respin at least one of them, and found a couple of other similar bugs
in other places.

The first two patches in this series should fix the oops that Ben
England hit while testing. The next fixes another, similar bug when
calculating the dentry hash. The final one fixes a problem that Zheng
pointed out.

I've marked the first 3 for stable, but I'm not sure whether the 4th
needs to go there as of yet.

Jeff Layton (4):
  ceph: always clone dentry name when building MDS request
  ceph: use pathlen values returned by set_request_path_attr
  ceph: ensure d_name stability in ceph_dentry_hash
  ceph: handle the case where a dentry has been renamed on outstanding
    req

 fs/ceph/dir.c        |  6 +++++-
 fs/ceph/inode.c      | 17 ++++++++++++++++-
 fs/ceph/mds_client.c | 44 ++++++++++++++++++++++++++++++++++----------
 3 files changed, 55 insertions(+), 12 deletions(-)

-- 
2.20.1




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux