aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf')
-rw-r--r--fs/udf/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index 466d2eea0eca..3483274fb5ba 100644
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -119,7 +119,7 @@ void udf_clear_inode(struct inode *inode)
119 udf_discard_prealloc(inode); 119 udf_discard_prealloc(inode);
120 udf_truncate_tail_extent(inode); 120 udf_truncate_tail_extent(inode);
121 unlock_kernel(); 121 unlock_kernel();
122 write_inode_now(inode, 1); 122 write_inode_now(inode, 0);
123 } 123 }
124 iinfo = UDF_I(inode); 124 iinfo = UDF_I(inode);
125 kfree(iinfo->i_ext.i_data); 125 kfree(iinfo->i_ext.i_data);