diff options
author | David Sterba <dsterba@suse.cz> | 2014-02-05 14:26:17 (GMT) |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-11-12 15:53:12 (GMT) |
commit | 572d9ab7845ea0e043ec34cd733a75228130ad03 (patch) | |
tree | 0dcf250edd2859e3dd64b0b33f9694c3fd61c29b /fs/btrfs/transaction.h | |
parent | 206c5f60a3d902bc4b56dab2de3e88de5eb06108 (diff) | |
download | linux-572d9ab7845ea0e043ec34cd733a75228130ad03.tar.xz |
btrfs: add support for processing pending changes
There are some actions that modify global filesystem state but cannot be
performed at the time of request, but later at the transaction commit
time when the filesystem is in a known state.
For example enabling new incompat features on-the-fly or issuing
transaction commit from unsafe contexts (sysfs handlers).
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r-- | fs/btrfs/transaction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h index d8f40e1..75ebcfc 100644 --- a/fs/btrfs/transaction.h +++ b/fs/btrfs/transaction.h @@ -170,4 +170,6 @@ int btrfs_wait_marked_extents(struct btrfs_root *root, int btrfs_transaction_blocked(struct btrfs_fs_info *info); int btrfs_transaction_in_commit(struct btrfs_fs_info *info); void btrfs_put_transaction(struct btrfs_transaction *transaction); +void btrfs_apply_pending_changes(struct btrfs_fs_info *fs_info); + #endif |