diff options
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r-- | fs/ext4/extents.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 0a47becf668a..377309c1af65 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -182,10 +182,10 @@ static ext4_fsblk_t ext4_ext_find_goal(struct inode *inode, | |||
182 | if (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) { | 182 | if (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) { |
183 | /* | 183 | /* |
184 | * If there are at least EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME | 184 | * If there are at least EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME |
185 | * block groups per flexgroup, reserve the first block | 185 | * block groups per flexgroup, reserve the first block |
186 | * group for directories and special files. Regular | 186 | * group for directories and special files. Regular |
187 | * files will start at the second block group. This | 187 | * files will start at the second block group. This |
188 | * tends to speed up directory access and improves | 188 | * tends to speed up directory access and improves |
189 | * fsck times. | 189 | * fsck times. |
190 | */ | 190 | */ |
191 | block_group &= ~(flex_size-1); | 191 | block_group &= ~(flex_size-1); |
@@ -2034,7 +2034,7 @@ ext4_ext_in_cache(struct inode *inode, ext4_lblk_t block, | |||
2034 | struct ext4_ext_cache *cex; | 2034 | struct ext4_ext_cache *cex; |
2035 | int ret = EXT4_EXT_CACHE_NO; | 2035 | int ret = EXT4_EXT_CACHE_NO; |
2036 | 2036 | ||
2037 | /* | 2037 | /* |
2038 | * We borrow i_block_reservation_lock to protect i_cached_extent | 2038 | * We borrow i_block_reservation_lock to protect i_cached_extent |
2039 | */ | 2039 | */ |
2040 | spin_lock(&EXT4_I(inode)->i_block_reservation_lock); | 2040 | spin_lock(&EXT4_I(inode)->i_block_reservation_lock); |