linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] ucount cleanups for v5.16
@ 2021-11-02 19:01 Eric W. Biederman
  2021-11-02 22:57 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Eric W. Biederman @ 2021-11-02 19:01 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Alexey Gladkov, Rune Kleveland, Yu Zhao,
	Jordan Glover, Antoine Martin, David Howells, Jarkko Sakkinen


Linus,

Please pull the ucount-fixes-for-v5.16 branch from the git tree:

  git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git ucount-fixes-for-v5.16

  HEAD: 32342701b4ba57a6fd77e8aca2f65f68c0fa1da6 ucounts: Use atomic_long_sub_return for clarity

While working on the ucount fixes a for v5.15 a number of cleanups
suggested themselves.  Little things like not testing for NULL when a
pointer can not be NULL and wrapping atomic_add_negative with a more
descriptive name, so that people reading the code can more quickly
understand what is going on.

Eric W. Biederman (4):
      ucounts: In set_cred_ucounts assume new->ucounts is non-NULL
      ucounts: Remove unnecessary test for NULL ucount in get_ucounts
      ucounts: Add get_ucounts_or_wrap for clarity
      ucounts: Use atomic_long_sub_return for clarity

 kernel/cred.c   |  5 ++---
 kernel/ucount.c | 20 +++++++++++++-------
 2 files changed, 15 insertions(+), 10 deletions(-)

Eric

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] ucount cleanups for v5.16
  2021-11-02 19:01 [GIT PULL] ucount cleanups for v5.16 Eric W. Biederman
@ 2021-11-02 22:57 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2021-11-02 22:57 UTC (permalink / raw)
  To: Eric W. Biederman
  Cc: Linus Torvalds, linux-kernel, Alexey Gladkov, Rune Kleveland,
	Yu Zhao, Jordan Glover, Antoine Martin, David Howells,
	Jarkko Sakkinen

The pull request you sent on Tue, 02 Nov 2021 14:01:00 -0500:

> git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git ucount-fixes-for-v5.16

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/33fb42636a938be01d951b4cee68127a59a1e7e4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-02 22:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02 19:01 [GIT PULL] ucount cleanups for v5.16 Eric W. Biederman
2021-11-02 22:57 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).