aboutsummaryrefslogtreecommitdiff
path: root/scripts/documentation-file-ref-check
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2021-04-02 10:32:21 +0200
committerChristian Brauner <[email protected]>2021-04-02 14:11:10 +0200
commitf49fd6d3c070d08c4ae9696876c7098320e48dab (patch)
tree8a758ff6341ad7ebad0e05a3cbe41bb2c37794a8 /scripts/documentation-file-ref-check
parent9b5b872215fe6d1ca6a1ef411f130bd58e269012 (diff)
file: let pick_file() tell caller it's done
Let pick_file() report back that the fd it was passed exceeded the maximum fd in that fdtable. This allows us to simplify the caller of this helper because it doesn't need to care anymore whether the passed in max_fd is excessive. It can rely on pick_file() telling it that it's past the last valid fd. 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 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions