diff options
Diffstat (limited to 'fs/udf/truncate.c')
-rw-r--r-- | fs/udf/truncate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/truncate.c b/fs/udf/truncate.c index 84191801f4c9..0449b2216e71 100644 --- a/fs/udf/truncate.c +++ b/fs/udf/truncate.c | |||
@@ -119,7 +119,7 @@ void udf_discard_prealloc(struct inode * inode) | |||
119 | } | 119 | } |
120 | UDF_I_LENEXTENTS(inode) = lbcount; | 120 | UDF_I_LENEXTENTS(inode) = lbcount; |
121 | 121 | ||
122 | udf_release_data(epos.bh); | 122 | brelse(epos.bh); |
123 | } | 123 | } |
124 | 124 | ||
125 | void udf_truncate_extents(struct inode * inode) | 125 | void udf_truncate_extents(struct inode * inode) |
@@ -287,5 +287,5 @@ void udf_truncate_extents(struct inode * inode) | |||
287 | } | 287 | } |
288 | UDF_I_LENEXTENTS(inode) = inode->i_size; | 288 | UDF_I_LENEXTENTS(inode) = inode->i_size; |
289 | 289 | ||
290 | udf_release_data(epos.bh); | 290 | brelse(epos.bh); |
291 | } | 291 | } |