Project

General

Profile

Actions

Bug #4023

open

kclient: d_revalidate is abusing d_parent

Added by Sage Weil about 11 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
kceph
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

See Viro's email to linux-fsdevel, http://marc.info/?l=linux-fsdevel&m=135968126020360&w=2 .

We probably need to link the ceph_dentry_info to struct on the parent inode (properly refcounted) when its validity is chained to the parent's cap. This is sort of duplicating d_parent, but the current code is abusing it and racy.

Actions

Also available in: Atom PDF