diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-04-28 21:48:45 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-29 18:13:41 -0400 |
| commit | 0e84653ea596bf9f5bfea58b0a34e0d9f72236c4 (patch) | |
| tree | be0f954cf80b502827a5e9247d112071700a0da6 /fs/mount.h | |
| parent | cf53a2d423c11ed70611e7b3f0878d6e419e348a (diff) | |
constify mnt_has_parent()
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/mount.h')
| -rw-r--r-- | fs/mount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/mount.h b/fs/mount.h index b8beafdd6d24..c4d417cd7953 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -102,7 +102,7 @@ static inline struct mount *real_mount(struct vfsmount *mnt) return container_of(mnt, struct mount, mnt); } -static inline int mnt_has_parent(struct mount *mnt) +static inline int mnt_has_parent(const struct mount *mnt) { return mnt != mnt->mnt_parent; } |
