diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-05-08 17:28:00 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-29 18:13:41 -0400 |
| commit | 592238c03ef9e44ad6031b671da869ebcbffa8dc (patch) | |
| tree | f37de22d353861f3f3eb86700b458be4134e73e8 /fs/pnode.c | |
| parent | 0e84653ea596bf9f5bfea58b0a34e0d9f72236c4 (diff) | |
| download | tip-592238c03ef9e44ad6031b671da869ebcbffa8dc.tar.gz | |
pnode: lift peers() into pnode.h
it's going to be useful both in pnode.c and namespace.c
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.c')
| -rw-r--r-- | fs/pnode.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/pnode.c b/fs/pnode.c index ffd429b760d5d4..aa187144e3894f 100644 --- a/fs/pnode.c +++ b/fs/pnode.c @@ -216,11 +216,6 @@ static struct mount *next_group(struct mount *m, struct mount *origin) static struct mount *last_dest, *first_source, *last_source, *dest_master; static struct hlist_head *list; -static inline bool peers(const struct mount *m1, const struct mount *m2) -{ - return m1->mnt_group_id == m2->mnt_group_id && m1->mnt_group_id; -} - static int propagate_one(struct mount *m, struct mountpoint *dest_mp) { struct mount *child; |
