]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: btrfs: Add single-device read-only BTRFS implementation
authorMarek BehĂșn <marek.behun@nic.cz>
Sun, 3 Sep 2017 15:00:28 +0000 (17:00 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 3 Oct 2017 01:52:17 +0000 (21:52 -0400)
commit21a14facb1494592c3ad4874c6a00539d15a29cf
tree96b0f5d1bfcbddff721717c6609ec401bd594ccf
parent597b4aff7b5d85946d2028ab9498116f53357dbc
fs: btrfs: Add single-device read-only BTRFS implementation

This adds the proper implementation for the BTRFS filesystem.
The implementation currently supports only read-only mode and
the filesystem can be only on a single device.

Checksums of data chunks is unimplemented.

Compression is implemented (ZLIB + LZO).

Signed-off-by: Marek Behun <marek.behun@nic.cz>
 create mode 100644 fs/btrfs/btrfs.h
 create mode 100644 fs/btrfs/chunk-map.c
 create mode 100644 fs/btrfs/compression.c
 create mode 100644 fs/btrfs/ctree.c
 create mode 100644 fs/btrfs/dev.c
 create mode 100644 fs/btrfs/dir-item.c
 create mode 100644 fs/btrfs/extent-io.c
 create mode 100644 fs/btrfs/hash.c
 create mode 100644 fs/btrfs/inode.c
 create mode 100644 fs/btrfs/root.c
 create mode 100644 fs/btrfs/subvolume.c
 create mode 100644 fs/btrfs/super.c
12 files changed:
fs/btrfs/btrfs.h [new file with mode: 0644]
fs/btrfs/chunk-map.c [new file with mode: 0644]
fs/btrfs/compression.c [new file with mode: 0644]
fs/btrfs/ctree.c [new file with mode: 0644]
fs/btrfs/dev.c [new file with mode: 0644]
fs/btrfs/dir-item.c [new file with mode: 0644]
fs/btrfs/extent-io.c [new file with mode: 0644]
fs/btrfs/hash.c [new file with mode: 0644]
fs/btrfs/inode.c [new file with mode: 0644]
fs/btrfs/root.c [new file with mode: 0644]
fs/btrfs/subvolume.c [new file with mode: 0644]
fs/btrfs/super.c [new file with mode: 0644]