aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2021-03-01 08:01:54 -0500
committerIlya Dryomov <[email protected]>2021-04-27 23:52:23 +0200
commitaa60cfc3f7ee32766766f71e6bfbea963b4f94bc (patch)
treeeab5168f12d68b2371ace2eb91a5eea95e560d7d /lib/mpi/mpi-sub-ui.c
parentd3c51ae1b8cce5bdaf91a1ce32b33cf5626075dc (diff)
ceph: don't use d_add in ceph_handle_snapdir
It's possible ceph_get_snapdir could end up finding a (disconnected) inode that already exists in the cache. Change the prototype for ceph_handle_snapdir to return a dentry pointer and have it use d_splice_alias so we don't end up with an aliased dentry in the cache. Reported-by: Al Viro <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions