diff options
Diffstat (limited to 'fs/udf/file.c')
-rw-r--r-- | fs/udf/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/udf/file.c b/fs/udf/file.c index b80cbd78833..f311d509b6a 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c | |||
@@ -196,6 +196,7 @@ static int udf_release_file(struct inode *inode, struct file *filp) | |||
196 | mutex_lock(&inode->i_mutex); | 196 | mutex_lock(&inode->i_mutex); |
197 | lock_kernel(); | 197 | lock_kernel(); |
198 | udf_discard_prealloc(inode); | 198 | udf_discard_prealloc(inode); |
199 | udf_truncate_tail_extent(inode); | ||
199 | unlock_kernel(); | 200 | unlock_kernel(); |
200 | mutex_unlock(&inode->i_mutex); | 201 | mutex_unlock(&inode->i_mutex); |
201 | } | 202 | } |