summaryrefslogtreecommitdiff
path: root/fs/proc/fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/fd.h')
-rw-r--r--fs/proc/fd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/proc/fd.h b/fs/proc/fd.h
index 46dafadd0083..7e7265f7e06f 100644
--- a/fs/proc/fd.h
+++ b/fs/proc/fd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PROCFS_FD_H__
#define __PROCFS_FD_H__
@@ -9,7 +10,8 @@ extern const struct inode_operations proc_fd_inode_operations;
extern const struct file_operations proc_fdinfo_operations;
extern const struct inode_operations proc_fdinfo_inode_operations;
-extern int proc_fd_permission(struct inode *inode, int mask);
+extern int proc_fd_permission(struct mnt_idmap *idmap,
+ struct inode *inode, int mask);
static inline unsigned int proc_fd(struct inode *inode)
{