aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/super.c')
-rw-r--r--fs/nilfs2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index f804d41ec9d3..d36fc7ee615f 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -838,7 +838,7 @@ static int nilfs_attach_snapshot(struct super_block *s, __u64 cno,
838 838
839static int nilfs_tree_was_touched(struct dentry *root_dentry) 839static int nilfs_tree_was_touched(struct dentry *root_dentry)
840{ 840{
841 return atomic_read(&root_dentry->d_count) > 1; 841 return root_dentry->d_count > 1;
842} 842}
843 843
844/** 844/**