]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: add fs context handling functions
authorJosef Bacik <josef@toxicpanda.com>
Wed, 22 Nov 2023 17:17:46 +0000 (12:17 -0500)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:04 +0000 (20:27 +0100)
commit0f85e244dfc5c22cb5e115ccad651df65e6fd68a
treec92a925cbc0630ff99d72b504c66ba7df35e6bc7
parent17b3612022fe533e70c0a83ea7634069e5ce33f1
btrfs: add fs context handling functions

We are going to use the fs context to hold the mount options, so
allocate the btrfs_fs_context when we're asked to init the fs context,
and free it in the free callback.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c