diff options
author | Christian Brauner <christian.brauner@ubuntu.com> | 2021-04-02 10:38:09 +0200 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2021-04-02 14:11:10 +0200 |
commit | 03ba0fe4d09f2eb0a91888caaa057ed67462ae2d (patch) | |
tree | 6df62d8ad78bb35a18d6361ffbc0d183f687da28 /fs/lockd | |
parent | file: let pick_file() tell caller it's done (diff) | |
download | linux-03ba0fe4d09f2eb0a91888caaa057ed67462ae2d.tar.xz linux-03ba0fe4d09f2eb0a91888caaa057ed67462ae2d.zip |
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 <hch@lst.de>
Cc: Giuseppe Scrivano <gscrivan@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions