diff options
Diffstat (limited to 'fs/fuse/dir.c')
-rw-r--r-- | fs/fuse/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 08e7b1a9d5d0..1545b711ddcf 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c | |||
@@ -971,7 +971,7 @@ int fuse_reverse_inval_entry(struct super_block *sb, u64 parent_nodeid, | |||
971 | err = -EBUSY; | 971 | err = -EBUSY; |
972 | goto badentry; | 972 | goto badentry; |
973 | } | 973 | } |
974 | if (S_ISDIR(entry->d_inode->i_mode)) { | 974 | if (d_is_dir(entry)) { |
975 | shrink_dcache_parent(entry); | 975 | shrink_dcache_parent(entry); |
976 | if (!simple_empty(entry)) { | 976 | if (!simple_empty(entry)) { |
977 | err = -ENOTEMPTY; | 977 | err = -ENOTEMPTY; |