Displaying 1 result from an estimated 1 matches for "df6060f".
Did you mean:
df600f
2012 Jan 05
4
[RFC][PATCH 3/3] Btrfs: improve truncation of btrfs
...m overcautious, we needn''t
hold that data.)
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/inode.c | 159 +++++++++++++++++-------------------------------------
1 files changed, 49 insertions(+), 110 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index df6060f..9ace01b 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -88,7 +88,7 @@ static unsigned char btrfs_type_by_mode[S_IFMT >> S_SHIFT] = {
};
static int btrfs_setsize(struct inode *inode, loff_t newsize);
-static int btrfs_truncate(struct inode *inode);
+static int btrfs_truncate(stru...