diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-01-07 09:20:12 -0500 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-01-12 10:54:47 +0100 |
| commit | ce946c4fb98c95519ee39ab7d4b117ff15f09efa (patch) | |
| tree | bc1132ff747998435f94b07f24d839c527d56fa9 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5d65a70bd0437d2a7762164eb5015f6975937986 (diff) | |
gfs2: don't allow delegations to be set on directories
With the advent of directory leases, it's necessary to set the
->setlease() handler in directory file_operations to properly deny them.
In the "nolock" case however, there is no need to deny them.
Fixes: e6d28ebc17eb ("filelock: push the S_ISREG check down to ->setlease handlers")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260107-setlease-6-19-v1-4-85f034abcc57@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
