Loading fs/exfat/fatent.c +1 −3 Original line number Diff line number Diff line Loading @@ -84,9 +84,7 @@ int exfat_ent_set(struct super_block *sb, unsigned int loc, static inline bool is_valid_cluster(struct exfat_sb_info *sbi, unsigned int clus) { if (clus < EXFAT_FIRST_CLUSTER || sbi->num_clusters <= clus) return false; return true; return clus >= EXFAT_FIRST_CLUSTER && clus < sbi->num_clusters; } int exfat_ent_get(struct super_block *sb, unsigned int loc, Loading Loading
fs/exfat/fatent.c +1 −3 Original line number Diff line number Diff line Loading @@ -84,9 +84,7 @@ int exfat_ent_set(struct super_block *sb, unsigned int loc, static inline bool is_valid_cluster(struct exfat_sb_info *sbi, unsigned int clus) { if (clus < EXFAT_FIRST_CLUSTER || sbi->num_clusters <= clus) return false; return true; return clus >= EXFAT_FIRST_CLUSTER && clus < sbi->num_clusters; } int exfat_ent_get(struct super_block *sb, unsigned int loc, Loading