diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-19 19:37:44 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-19 19:37:44 +0200 |
commit | 236454dfffb64a95ee01c50a215153f5de61c475 (patch) | |
tree | 605a8256dc83916c4daac5e709117cdd2fab3d64 /fs/btrfs/file-item.c | |
parent | Btrfs: working file_write, reorganized key flags (diff) | |
download | linux-236454dfffb64a95ee01c50a215153f5de61c475.tar.xz linux-236454dfffb64a95ee01c50a215153f5de61c475.zip |
Btrfs: many file_write fixes, inline data
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r-- | fs/btrfs/file-item.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index 8cc3c1d15412..10e4cf08e9ed 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c @@ -34,6 +34,7 @@ int btrfs_insert_file_extent(struct btrfs_trans_handle *trans, btrfs_set_file_extent_offset(item, 0); btrfs_set_file_extent_num_blocks(item, num_blocks); btrfs_set_file_extent_generation(item, trans->transid); + btrfs_set_file_extent_type(item, BTRFS_FILE_EXTENT_REG); btrfs_mark_buffer_dirty(path->nodes[0]); btrfs_release_path(root, path); |