mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 23:52:40 +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
|
@ -526,7 +526,7 @@ static int coda_dentry_revalidate(struct dentry *de, unsigned int flags)
|
|||
if (cii->c_flags & C_FLUSH)
|
||||
coda_flag_inode_children(inode, C_FLUSH);
|
||||
|
||||
if (de->d_count > 1)
|
||||
if (d_count(de) > 1)
|
||||
/* pretend it's valid, but don't change the flags */
|
||||
goto out;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue