diff options
Diffstat (limited to 'fs/ocfs2/alloc.c')
-rw-r--r-- | fs/ocfs2/alloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index 19712a7d145f..02b6e7af8edb 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c | |||
@@ -3631,8 +3631,6 @@ int ocfs2_commit_truncate(struct ocfs2_super *osb, | |||
3631 | 3631 | ||
3632 | mlog_entry_void(); | 3632 | mlog_entry_void(); |
3633 | 3633 | ||
3634 | down_write(&OCFS2_I(inode)->ip_alloc_sem); | ||
3635 | |||
3636 | new_highest_cpos = ocfs2_clusters_for_bytes(osb->sb, | 3634 | new_highest_cpos = ocfs2_clusters_for_bytes(osb->sb, |
3637 | i_size_read(inode)); | 3635 | i_size_read(inode)); |
3638 | 3636 | ||
@@ -3754,7 +3752,6 @@ start: | |||
3754 | goto start; | 3752 | goto start; |
3755 | 3753 | ||
3756 | bail: | 3754 | bail: |
3757 | up_write(&OCFS2_I(inode)->ip_alloc_sem); | ||
3758 | 3755 | ||
3759 | ocfs2_schedule_truncate_log_flush(osb, 1); | 3756 | ocfs2_schedule_truncate_log_flush(osb, 1); |
3760 | 3757 | ||