summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2021-04-02 10:32:21 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2021-04-02 14:11:10 +0200
commitf49fd6d3c070d08c4ae9696876c7098320e48dab (patch)
tree8a758ff6341ad7ebad0e05a3cbe41bb2c37794a8 /tools/perf/scripts/python
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 <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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions