diff options
author | David Sterba <dsterba@suse.com> | 2023-09-08 22:05:47 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 17:44:07 +0300 |
commit | ed164802e89589db64ef8829813a5ae92153722c (patch) | |
tree | 03ba44fdf150d001bef283c15da2e22a11ab5a03 /fs/btrfs/backref.h | |
parent | 28270e25c69a2c76ea1ed0922095bffb9b9a4f98 (diff) | |
download | linux-ed164802e89589db64ef8829813a5ae92153722c.tar.xz |
btrfs: rename errno identifiers to error
We sync the kernel files to userspace and the 'errno' symbol is defined
by standard library, which does not matter in kernel but the parameters
or local variables could clash. Rename them all.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r-- | fs/btrfs/backref.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h index 79742935399f..3b077d10bbc0 100644 --- a/fs/btrfs/backref.h +++ b/fs/btrfs/backref.h @@ -533,9 +533,9 @@ void btrfs_backref_cleanup_node(struct btrfs_backref_cache *cache, void btrfs_backref_release_cache(struct btrfs_backref_cache *cache); static inline void btrfs_backref_panic(struct btrfs_fs_info *fs_info, - u64 bytenr, int errno) + u64 bytenr, int error) { - btrfs_panic(fs_info, errno, + btrfs_panic(fs_info, error, "Inconsistency in backref cache found at offset %llu", bytenr); } |