aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-24 12:07:39 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-24 12:07:39 -0400
commitc62a1920ced752e86f57ab1d4ad0ec65012bce4d (patch)
tree39ae2aa95a7921d2b0a959ccb28a3f3733154c47 /fs/btrfs/super.c
parentb51338628f604d9b4ed3c776839a484a30e12fb7 (diff)
Btrfs: get rid of the extent_item type field
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 43f081593c4..c076474c8bf 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1830,8 +1830,7 @@ static ssize_t btrfs_file_write(struct file *file, const char __user *buf,
if (inode->i_size >= PAGE_CACHE_SIZE || pos + count < inode->i_size ||
pos + count - start_pos > BTRFS_MAX_INLINE_DATA_SIZE(root)) {
ret = btrfs_alloc_extent(trans, root, inode->i_ino,
- BTRFS_EXTENT_FILE, num_blocks, 1,
- (u64)-1, &ins);
+ num_blocks, 1, (u64)-1, &ins);
BUG_ON(ret);
ret = btrfs_insert_file_extent(trans, root, inode->i_ino,
start_pos, ins.objectid, ins.offset);