summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2021-04-02 10:38:09 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2021-04-02 14:11:10 +0200
commit03ba0fe4d09f2eb0a91888caaa057ed67462ae2d (patch)
tree6df62d8ad78bb35a18d6361ffbc0d183f687da28 /fs/9p
parentfile: let pick_file() tell caller it's done (diff)
downloadlinux-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/9p')
0 files changed, 0 insertions, 0 deletions