diff options
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r-- | fs/btrfs/file-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index 991f056acab2..6e6262eca8b7 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c | |||
@@ -329,8 +329,8 @@ int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end, | |||
329 | u64 csum_end; | 329 | u64 csum_end; |
330 | u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); | 330 | u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy); |
331 | 331 | ||
332 | ASSERT(start == ALIGN(start, root->sectorsize) && | 332 | ASSERT(IS_ALIGNED(start, root->sectorsize) && |
333 | (end + 1) == ALIGN(end + 1, root->sectorsize)); | 333 | IS_ALIGNED(end + 1, root->sectorsize)); |
334 | 334 | ||
335 | path = btrfs_alloc_path(); | 335 | path = btrfs_alloc_path(); |
336 | if (!path) | 336 | if (!path) |