summaryrefslogtreecommitdiffstats
path: root/fs/ext4/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/dir.c')
-rw-r--r--fs/ext4/dir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index 3a77b7affd09..86054f31fe4d 100644
--- a/fs/ext4/dir.c
+++ b/fs/ext4/dir.c
@@ -194,8 +194,7 @@ static int ext4_readdir(struct file *file, struct dir_context *ctx)
194 194
195 /* Check the checksum */ 195 /* Check the checksum */
196 if (!buffer_verified(bh) && 196 if (!buffer_verified(bh) &&
197 !ext4_dirent_csum_verify(inode, 197 !ext4_dirblock_csum_verify(inode, bh)) {
198 (struct ext4_dir_entry *)bh->b_data)) {
199 EXT4_ERROR_FILE(file, 0, "directory fails checksum " 198 EXT4_ERROR_FILE(file, 0, "directory fails checksum "
200 "at offset %llu", 199 "at offset %llu",
201 (unsigned long long)ctx->pos); 200 (unsigned long long)ctx->pos);