diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_block.c')
-rw-r--r-- | fs/xfs/xfs_dir2_block.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dir2_block.c b/fs/xfs/xfs_dir2_block.c index fb5a556725b3..e8a7aca5fe23 100644 --- a/fs/xfs/xfs_dir2_block.c +++ b/fs/xfs/xfs_dir2_block.c | |||
@@ -1071,7 +1071,7 @@ xfs_dir2_sf_to_block( | |||
1071 | */ | 1071 | */ |
1072 | error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, &blkno); | 1072 | error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, &blkno); |
1073 | if (error) { | 1073 | if (error) { |
1074 | kmem_free(buf, buf_len); | 1074 | kmem_free(buf); |
1075 | return error; | 1075 | return error; |
1076 | } | 1076 | } |
1077 | /* | 1077 | /* |
@@ -1079,7 +1079,7 @@ xfs_dir2_sf_to_block( | |||
1079 | */ | 1079 | */ |
1080 | error = xfs_dir2_data_init(args, blkno, &bp); | 1080 | error = xfs_dir2_data_init(args, blkno, &bp); |
1081 | if (error) { | 1081 | if (error) { |
1082 | kmem_free(buf, buf_len); | 1082 | kmem_free(buf); |
1083 | return error; | 1083 | return error; |
1084 | } | 1084 | } |
1085 | block = bp->data; | 1085 | block = bp->data; |
@@ -1198,7 +1198,7 @@ xfs_dir2_sf_to_block( | |||
1198 | sfep = xfs_dir2_sf_nextentry(sfp, sfep); | 1198 | sfep = xfs_dir2_sf_nextentry(sfp, sfep); |
1199 | } | 1199 | } |
1200 | /* Done with the temporary buffer */ | 1200 | /* Done with the temporary buffer */ |
1201 | kmem_free(buf, buf_len); | 1201 | kmem_free(buf); |
1202 | /* | 1202 | /* |
1203 | * Sort the leaf entries by hash value. | 1203 | * Sort the leaf entries by hash value. |
1204 | */ | 1204 | */ |