diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 7cd8ab0ef04d..72650ceb9829 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -1310,7 +1310,7 @@ static int btrfs_set_bit_hook(struct inode *inode, | |||
1310 | 1310 | ||
1311 | /* | 1311 | /* |
1312 | * set_bit and clear bit hooks normally require _irqsave/restore | 1312 | * set_bit and clear bit hooks normally require _irqsave/restore |
1313 | * but in this case, we are only testeing for the DELALLOC | 1313 | * but in this case, we are only testing for the DELALLOC |
1314 | * bit, which is only set or cleared with irqs on | 1314 | * bit, which is only set or cleared with irqs on |
1315 | */ | 1315 | */ |
1316 | if (!(state->state & EXTENT_DELALLOC) && (*bits & EXTENT_DELALLOC)) { | 1316 | if (!(state->state & EXTENT_DELALLOC) && (*bits & EXTENT_DELALLOC)) { |
@@ -1344,7 +1344,7 @@ static int btrfs_clear_bit_hook(struct inode *inode, | |||
1344 | { | 1344 | { |
1345 | /* | 1345 | /* |
1346 | * set_bit and clear bit hooks normally require _irqsave/restore | 1346 | * set_bit and clear bit hooks normally require _irqsave/restore |
1347 | * but in this case, we are only testeing for the DELALLOC | 1347 | * but in this case, we are only testing for the DELALLOC |
1348 | * bit, which is only set or cleared with irqs on | 1348 | * bit, which is only set or cleared with irqs on |
1349 | */ | 1349 | */ |
1350 | if ((state->state & EXTENT_DELALLOC) && (*bits & EXTENT_DELALLOC)) { | 1350 | if ((state->state & EXTENT_DELALLOC) && (*bits & EXTENT_DELALLOC)) { |