Commit 43bfc458 authored by Josef Bacik's avatar Josef Bacik Committed by sanglipeng
Browse files

btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h

stable inclusion
from stable-v5.10.197
commit cc87d2bb391cf12feb3c79fec86bc3597e08f3ac
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I96Q8P

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cc87d2bb391cf12feb3c79fec86bc3597e08f3ac



--------------------------------

[ Upstream commit c2e79e86 ]

This is defined in volumes.c, move the prototype into volumes.h.

Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
Stable-dep-of: 6bfe3959 ("btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 39623e48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment