aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2021-04-02 10:38:09 +0200
committerChristian Brauner <[email protected]>2021-04-02 14:11:10 +0200
commit03ba0fe4d09f2eb0a91888caaa057ed67462ae2d (patch)
tree6df62d8ad78bb35a18d6361ffbc0d183f687da28 /lib/test_overflow.c
parentf49fd6d3c070d08c4ae9696876c7098320e48dab (diff)
file: simplify logic in __close_range()
It never looked too pleasant and it doesn't really buy us anything anymore now that CLOSE_RANGE_CLOEXEC exists and we need to retake the current maximum under the lock for it anyway. This also makes the logic easier to follow. Cc: Christoph Hellwig <[email protected]> Cc: Giuseppe Scrivano <[email protected]> Cc: Al Viro <[email protected]> Cc: [email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions