mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
helper for reading ->d_count
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
74b9272bbe
commit
84d08fa888
12 changed files with 22 additions and 17 deletions
|
@ -179,7 +179,7 @@ static struct dentry *autofs4_lookup_active(struct dentry *dentry)
|
|||
spin_lock(&active->d_lock);
|
||||
|
||||
/* Already gone? */
|
||||
if (active->d_count == 0)
|
||||
if (!d_count(active))
|
||||
goto next;
|
||||
|
||||
qstr = &active->d_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue