commit | 84d08fa888e7c2d53b5bbc764db2ef02968b499c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Jul 05 18:59:33 2013 +0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jul 05 18:59:33 2013 +0400 |
tree | fa891009d778586eefdf3be8a11671ab9aefb13a | |
parent | 74b9272bbedf45cb01a048217830d64d59aaa73b [diff] [blame] |
helper for reading ->d_count Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index ca8e555..92ef341 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c
@@ -179,7 +179,7 @@ spin_lock(&active->d_lock); /* Already gone? */ - if (active->d_count == 0) + if (!d_count(active)) goto next; qstr = &active->d_name;