• C
    file: simplify logic in __close_range() · 03ba0fe4
    Christian Brauner 提交于
    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: NChristian Brauner <christian.brauner@ubuntu.com>
    03ba0fe4
file.c 29.7 KB