diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-09 22:03:17 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-29 18:13:41 -0400 |
| commit | e031251cb249f824ad67cb0b2fc18b68d5792b8d (patch) | |
| tree | 546783a86ddf1dc7ed1f5c84f01889b99d452437 /fs/mount.h | |
| parent | 9cb79ed60e38a0767b5b94c31bf1abf6518bc6b9 (diff) | |
constify is_local_mountpoint()
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/mount.h b/fs/mount.h index c4d417cd7953..f10776003643 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -147,8 +147,8 @@ struct proc_mounts { extern const struct seq_operations mounts_op; -extern bool __is_local_mountpoint(struct dentry *dentry); -static inline bool is_local_mountpoint(struct dentry *dentry) +extern bool __is_local_mountpoint(const struct dentry *dentry); +static inline bool is_local_mountpoint(const struct dentry *dentry) { if (!d_mountpoint(dentry)) return false; |