summaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorWolffhardt Schwabe <wolffhardt.schwabe@fau.de>2017-12-14 19:13:57 +0100
committerEric W. Biederman <ebiederm@xmission.com>2017-12-14 23:01:45 +0100
commit8b2770a4e1c7a837e1889d4f00026e999da5faa0 (patch)
treee3991a630475e2cb4bef6212998fecac5f4839ed /kernel/sys.c
parentautofs4: Modify autofs_wait to use current_uid() and current_gid() (diff)
downloadlinux-8b2770a4e1c7a837e1889d4f00026e999da5faa0.tar.xz
linux-8b2770a4e1c7a837e1889d4f00026e999da5faa0.zip
fix typo in assignment of fs default overflow gid
The patch remains without practical effect since both macros carry identical values. Still, it might become a problem in the future if (for whatever reason) the default overflow uid and gid differ. The DEFAULT_FS_OVERFLOWGID macro was previously unused. Signed-off-by: Wolffhardt Schwabe <wolffhardt.schwabe@fau.de> Signed-off-by: Anatoliy Cherepantsev <anatoliy.cherepantsev@fau.de> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kernel/sys.c')
-rw-r--r--kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index 83ffd7dccf23..f2289de20e19 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -135,7 +135,7 @@ EXPORT_SYMBOL(overflowgid);
*/
int fs_overflowuid = DEFAULT_FS_OVERFLOWUID;
-int fs_overflowgid = DEFAULT_FS_OVERFLOWUID;
+int fs_overflowgid = DEFAULT_FS_OVERFLOWGID;
EXPORT_SYMBOL(fs_overflowuid);
EXPORT_SYMBOL(fs_overflowgid);