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/coda/dir.c b/fs/coda/dir.c index 14a1480..190effc 100644 --- a/fs/coda/dir.c +++ b/fs/coda/dir.c
@@ -526,7 +526,7 @@ 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;