diff options
author | Anand Jain <anand.jain@oracle.com> | 2016-03-16 16:43:06 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-04-28 10:36:54 +0200 |
commit | 34d9700702f4042ce10d68a092ab7f79575e7a3b (patch) | |
tree | 49581d437ac92e6db4fe89122bf4875b4e21f902 /fs/btrfs/inode-item.c | |
parent | 02da2d72174c61988eb4456b53f405e3ebdebce4 (diff) | |
download | linux-stable-34d9700702f4042ce10d68a092ab7f79575e7a3b.tar.gz linux-stable-34d9700702f4042ce10d68a092ab7f79575e7a3b.tar.bz2 linux-stable-34d9700702f4042ce10d68a092ab7f79575e7a3b.zip |
btrfs: rename btrfs_std_error to btrfs_handle_fs_error
btrfs_std_error() handles errors, puts FS into readonly mode
(as of now). So its good idea to rename it to btrfs_handle_fs_error().
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ edit changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode-item.c')
-rw-r--r-- | fs/btrfs/inode-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode-item.c b/fs/btrfs/inode-item.c index be4d22a5022f..b8acc07ac6c2 100644 --- a/fs/btrfs/inode-item.c +++ b/fs/btrfs/inode-item.c @@ -157,7 +157,7 @@ static int btrfs_del_inode_extref(struct btrfs_trans_handle *trans, */ if (!btrfs_find_name_in_ext_backref(path, ref_objectid, name, name_len, &extref)) { - btrfs_std_error(root->fs_info, -ENOENT, NULL); + btrfs_handle_fs_error(root->fs_info, -ENOENT, NULL); ret = -EROFS; goto out; } |