File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ static inline bool valid_io_request(struct zram *zram,
190
190
191
191
end = start + (size >> SECTOR_SHIFT );
192
192
bound = zram -> disksize >> SECTOR_SHIFT ;
193
- /* out of range range */
193
+ /* out of range */
194
194
if (unlikely (start >= bound || end > bound || start > end ))
195
195
return false;
196
196
@@ -2385,7 +2385,7 @@ static int zram_add(void)
2385
2385
zram -> disk -> private_data = zram ;
2386
2386
snprintf (zram -> disk -> disk_name , 16 , "zram%d" , device_id );
2387
2387
2388
- /* Actual capacity set using syfs (/sys/block/zram<id>/disksize */
2388
+ /* Actual capacity set using sysfs (/sys/block/zram<id>/disksize */
2389
2389
set_capacity (zram -> disk , 0 );
2390
2390
/* zram devices sort of resembles non-rotational disks */
2391
2391
blk_queue_flag_set (QUEUE_FLAG_NONROT , zram -> disk -> queue );
You can’t perform that action at this time.
0 commit comments