diff options
Diffstat (limited to 'fs/udf/inode.c')
-rw-r--r-- | fs/udf/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c index f792681f2f73..24cfa55d0fdc 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c | |||
@@ -289,7 +289,7 @@ struct buffer_head *udf_expand_dir_adinicb(struct inode *inode, int *block, | |||
289 | eloc.logicalBlockNum = *block; | 289 | eloc.logicalBlockNum = *block; |
290 | eloc.partitionReferenceNum = | 290 | eloc.partitionReferenceNum = |
291 | iinfo->i_location.partitionReferenceNum; | 291 | iinfo->i_location.partitionReferenceNum; |
292 | elen = inode->i_size; | 292 | elen = inode->i_sb->s_blocksize; |
293 | iinfo->i_lenExtents = elen; | 293 | iinfo->i_lenExtents = elen; |
294 | epos.bh = NULL; | 294 | epos.bh = NULL; |
295 | epos.block = iinfo->i_location; | 295 | epos.block = iinfo->i_location; |