mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wolffhardt Schwabe <wolffhardt.schwabe@fau.de>
To: linux-kernel@vger.kernel.org
Cc: mingo@kernel.org, viro@ZenIV.linux.org.uk, ebiederm@xmission.com,
	ptikhomirov@virtuozzo.com, sds@tycho.nsa.gov,
	Dave.Martin@arm.com, fweisbec@gmail.com, ktkhai@virtuozzo.com,
	mhocko@suse.com, linux-kernel@i4.cs.fau.de,
	Wolffhardt Schwabe <wolffhardt.schwabe@fau.de>,
	Anatoliy Cherepantsev <anatoliy.cherepantsev@fau.de>
Subject: [PATCH] fix typo in assignment of fs default overflow gid
Date: Thu, 14 Dec 2017 19:13:57 +0100	[thread overview]
Message-ID: <1513275237-9515-1-git-send-email-wolffhardt.schwabe@fau.de> (raw)

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>
---
 kernel/sys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sys.c b/kernel/sys.c
index 83ffd7d..f2289de 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);
-- 
2.7.4

             reply	other threads:[~2017-12-14 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14 18:13 Wolffhardt Schwabe [this message]
2017-12-14 22:32 ` Eric W. Biederman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513275237-9515-1-git-send-email-wolffhardt.schwabe@fau.de \
    --to=wolffhardt.schwabe@fau.de \
    --cc=Dave.Martin@arm.com \
    --cc=anatoliy.cherepantsev@fau.de \
    --cc=ebiederm@xmission.com \
    --cc=fweisbec@gmail.com \
    --cc=ktkhai@virtuozzo.com \
    --cc=linux-kernel@i4.cs.fau.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhocko@suse.com \
    --cc=mingo@kernel.org \
    --cc=ptikhomirov@virtuozzo.com \
    --cc=sds@tycho.nsa.gov \
    --cc=viro@ZenIV.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®