aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/namei.c')
-rw-r--r--fs/udf/namei.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/udf/namei.c b/fs/udf/namei.c
index 3d94bc1cfbaf..d3231947db19 100644
--- a/fs/udf/namei.c
+++ b/fs/udf/namei.c
@@ -899,7 +899,7 @@ static int udf_symlink(struct inode *dir, struct dentry *dentry,
899 899
900 if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { 900 if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) {
901 kernel_lb_addr eloc; 901 kernel_lb_addr eloc;
902 uint32_t elen; 902 uint32_t bsize;
903 903
904 block = udf_new_block(inode->i_sb, inode, 904 block = udf_new_block(inode->i_sb, inode,
905 iinfo->i_location.partitionReferenceNum, 905 iinfo->i_location.partitionReferenceNum,
@@ -912,9 +912,9 @@ static int udf_symlink(struct inode *dir, struct dentry *dentry,
912 eloc.logicalBlockNum = block; 912 eloc.logicalBlockNum = block;
913 eloc.partitionReferenceNum = 913 eloc.partitionReferenceNum =
914 iinfo->i_location.partitionReferenceNum; 914 iinfo->i_location.partitionReferenceNum;
915 elen = inode->i_sb->s_blocksize; 915 bsize = inode->i_sb->s_blocksize;
916 iinfo->i_lenExtents = elen; 916 iinfo->i_lenExtents = bsize;
917 udf_add_aext(inode, &epos, eloc, elen, 0); 917 udf_add_aext(inode, &epos, eloc, bsize, 0);
918 brelse(epos.bh); 918 brelse(epos.bh);
919 919
920 block = udf_get_pblock(inode->i_sb, block, 920 block = udf_get_pblock(inode->i_sb, block,