diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-05 18:59:33 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-05 18:59:33 +0400 |
commit | 84d08fa888e7c2d53b5bbc764db2ef02968b499c (patch) | |
tree | fa891009d778586eefdf3be8a11671ab9aefb13a /fs/nilfs2 | |
parent | 74b9272bbedf45cb01a048217830d64d59aaa73b (diff) | |
download | linux-84d08fa888e7c2d53b5bbc764db2ef02968b499c.tar.gz linux-84d08fa888e7c2d53b5bbc764db2ef02968b499c.tar.bz2 linux-84d08fa888e7c2d53b5bbc764db2ef02968b499c.zip |
helper for reading ->d_count
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 1427de5ebf4d..af3ba0478cdf 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c @@ -996,7 +996,7 @@ static int nilfs_attach_snapshot(struct super_block *s, __u64 cno, static int nilfs_tree_was_touched(struct dentry *root_dentry) { - return root_dentry->d_count > 1; + return d_count(root_dentry) > 1; } /** |