Skip to content

Commit 593f927

Browse files
authored
Merge pull request #113 from Icarusradio/patch-1
Fix a typo in `IS_DATABLOCKS_2MB_ALIGNED`
2 parents b04a2c8 + 940d4c0 commit 593f927

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/nova/balloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ struct nova_range_node *nova_alloc_blocknode_atomic(struct super_block *sb)
583583

584584
#define PAGES_PER_2MB 512
585585
#define PAGES_PER_2MB_MASK (512 - 1)
586-
#define IS_DATABLOCKS_2MB_ALIGNED(numblocks, atype) \
586+
#define IS_DATABLOCKS_2MB_ALIGNED(num_blocks, atype) \
587587
(!(num_blocks & PAGES_PER_2MB_MASK) && (atype == DATA))
588588

589589
/* This method returns the number of blocks allocated. */

0 commit comments

Comments
 (0)