search for: btrfs_std_error

Displaying 3 results from an estimated 3 matches for "btrfs_std_error".

2011 Jun 09
2
[PATCH] Btrfs: turn to readonly if btrfs_start_transaction() fails
When btrfs_start_transaction() fails, we should call btrfs_std_error() properly for filesystem to readonly. (in this patch, forced readonly framework is used) Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> --- fs/btrfs/file.c | 1 + fs/btrfs/inode.c | 34 +++++++++++++++++++++++++++------- fs/btrfs/ioctl.c | 11 ++++++++++- fs/...
2011 Aug 26
0
[PATCH] Btrfs: make some functions return void
...ache); if (!caching_ctl) - return 0; + return; wait_event(caching_ctl->wait, block_group_cache_done(cache)); put_caching_control(caching_ctl); - return 0; } static int get_block_group_index(struct btrfs_block_group_cache *cache) @@ -6443,7 +6441,6 @@ out_free: out: if (err) btrfs_std_error(root->fs_info, err); - return; } /* diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 8491712..99717f8 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -596,8 +596,8 @@ search_again: goto again; } -static int wait_on_state(struct extent_io_tree *tree, - st...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them