File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ struct proc_mounts {
147147
148148extern const struct seq_operations mounts_op ;
149149
150- extern bool __is_local_mountpoint (struct dentry * dentry );
151- static inline bool is_local_mountpoint (struct dentry * dentry )
150+ extern bool __is_local_mountpoint (const struct dentry * dentry );
151+ static inline bool is_local_mountpoint (const struct dentry * dentry )
152152{
153153 if (!d_mountpoint (dentry ))
154154 return false;
Original file line number Diff line number Diff line change @@ -894,7 +894,7 @@ struct vfsmount *lookup_mnt(const struct path *path)
894894 * namespace not just a mount that happens to have some specified
895895 * parent mount.
896896 */
897- bool __is_local_mountpoint (struct dentry * dentry )
897+ bool __is_local_mountpoint (const struct dentry * dentry )
898898{
899899 struct mnt_namespace * ns = current -> nsproxy -> mnt_ns ;
900900 struct mount * mnt , * n ;
You can’t perform that action at this time.
0 commit comments