From 38c3c615380b13d7be94ed09fd9b813301e68148 Mon Sep 17 00:00:00 2001 From: Eric Gouriou Date: Sun, 22 May 2011 21:33:00 -0400 Subject: [PATCH] --- yaml --- r: 251742 b: refs/heads/master c: f6d2f6b327ceef5c689581529a852dc6ec3b74a6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext4/extents.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6242782d1a63..ee6845086dc1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 77f4135f2a219a2127be6cc1208c42e6175b11dd +refs/heads/master: f6d2f6b327ceef5c689581529a852dc6ec3b74a6 diff --git a/trunk/fs/ext4/extents.c b/trunk/fs/ext4/extents.c index 4444317d141a..4e2bdc26b85c 100644 --- a/trunk/fs/ext4/extents.c +++ b/trunk/fs/ext4/extents.c @@ -3450,8 +3450,9 @@ void ext4_ext_truncate(struct inode *inode) if (IS_SYNC(inode)) ext4_handle_sync(handle); -out_stop: up_write(&EXT4_I(inode)->i_data_sem); + +out_stop: /* * If this was a simple ftruncate() and the file will remain alive, * then we need to clear up the orphan record which we created above.