aboutsummaryrefslogtreecommitdiffstats
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 43f081593c45..c076474c8bff 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,
1830 if (inode->i_size >= PAGE_CACHE_SIZE || pos + count < inode->i_size || 1830 if (inode->i_size >= PAGE_CACHE_SIZE || pos + count < inode->i_size ||
1831 pos + count - start_pos > BTRFS_MAX_INLINE_DATA_SIZE(root)) { 1831 pos + count - start_pos > BTRFS_MAX_INLINE_DATA_SIZE(root)) {
1832 ret = btrfs_alloc_extent(trans, root, inode->i_ino, 1832 ret = btrfs_alloc_extent(trans, root, inode->i_ino,
1833 BTRFS_EXTENT_FILE, num_blocks, 1, 1833 num_blocks, 1, (u64)-1, &ins);
1834 (u64)-1, &ins);
1835 BUG_ON(ret); 1834 BUG_ON(ret);
1836 ret = btrfs_insert_file_extent(trans, root, inode->i_ino, 1835 ret = btrfs_insert_file_extent(trans, root, inode->i_ino,
1837 start_pos, ins.objectid, ins.offset); 1836 start_pos, ins.objectid, ins.offset);