ret = count; /* propagate error upward */
goto out;
}
- info->NumSubdirs = count;
+ info->num_subdirs = count;
if (p_fs->dev_ejected)
ret = -EIO;
uni_name.name);
nls_uniname_to_cstring(sb, info->name, &uni_name);
- info->NumSubdirs = 2;
+ info->num_subdirs = 2;
info->Size = exfat_get_entry_size(ep2);
ret = count; /* propagate error upward */
goto out;
}
- info->NumSubdirs += count;
+ info->num_subdirs += count;
}
if (p_fs->dev_ejected)
i_size_write(inode, info.Size);
EXFAT_I(inode)->mmu_private = i_size_read(inode);
- set_nlink(inode, info.NumSubdirs);
+ set_nlink(inode, info.num_subdirs);
} else if (info.attr & ATTR_SYMLINK) { /* symbolic link */
inode->i_generation |= 1;
inode->i_mode = exfat_make_mode(sbi, info.attr, 0777);
inode->i_mtime = curtime;
inode->i_atime = curtime;
inode->i_ctime = curtime;
- set_nlink(inode, info.NumSubdirs + 2);
+ set_nlink(inode, info.num_subdirs + 2);
return 0;
}