locks: Remove the last reference to EXPORT_OP_ASYNC_LOCK.
Subsystems (2)
PATCH 1/1 locks: Remove the last reference to EXPORT_OP_ASYNC_LOCK.
From: Thiago Becker <[email protected]>
Commit b875bd5b381e ("exportfs: Remove EXPORT_OP_ASYNC_LOCK") removed all references to EXPORT_OP_ASYNC_LOCK, but one lasted in the comments for fs/locks.c. Remove it.
--- fs/locks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/locks.c +2 -2
@@ -2328,8 +2328,8 @@ int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock)* To avoid blocking kernel daemons, such as lockd, that need to acquire POSIX * locks, the ->lock() interface may return asynchronously, before the lock has * been granted or denied by the underlying filesystem, if (and only if) -* lm_grant is set. Additionally EXPORT_OP_ASYNC_LOCK in export_operations -* flags need to be set. +* lm_grant is set. Additionally FOP_ASYNC_LOCK in file_operations fop_flags +* need to be set. * * Callers expecting ->lock() to return asynchronously will only use F_SETLK, * not F_SETLKW; they will set FL_SLEEP if (and only if) the request is for a
Signature · 1 line
2.49.0
Quoted 5 lines · On Thu, 24 Jul 2025 17:35:16 -0300, [email protected] wrote:
Commit
b875bd5b381e("exportfs: RemoveEXPORT_OP_ASYNC_LOCK") removed all references toEXPORT_OP_ASYNC_LOCK, but one lasted in the comments forfs/locks.c. Remove it.
Applied to the master branch of the vfs/vfs.git tree. Patches in the master branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: master
[1/1] locks: Remove the last reference to EXPORT_OP_ASYNC_LOCK.
https://git.kernel.org/vfs/vfs/c/8991d5172a9b