Loading fs/dcache.c +0 −5 Original line number Diff line number Diff line Loading @@ -549,10 +549,6 @@ struct dentry *dget_parent(struct dentry *dentry) */ rcu_read_lock(); ret = dentry->d_parent; if (!ret) { rcu_read_unlock(); goto out; } spin_lock(&ret->d_lock); if (unlikely(ret != dentry->d_parent)) { spin_unlock(&ret->d_lock); Loading @@ -563,7 +559,6 @@ struct dentry *dget_parent(struct dentry *dentry) BUG_ON(!ret->d_count); ret->d_count++; spin_unlock(&ret->d_lock); out: return ret; } EXPORT_SYMBOL(dget_parent); Loading Loading
fs/dcache.c +0 −5 Original line number Diff line number Diff line Loading @@ -549,10 +549,6 @@ struct dentry *dget_parent(struct dentry *dentry) */ rcu_read_lock(); ret = dentry->d_parent; if (!ret) { rcu_read_unlock(); goto out; } spin_lock(&ret->d_lock); if (unlikely(ret != dentry->d_parent)) { spin_unlock(&ret->d_lock); Loading @@ -563,7 +559,6 @@ struct dentry *dget_parent(struct dentry *dentry) BUG_ON(!ret->d_count); ret->d_count++; spin_unlock(&ret->d_lock); out: return ret; } EXPORT_SYMBOL(dget_parent); Loading