summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-11-20 04:17:11 +0300
committerChuck Lever <chuck.lever@oracle.com>2024-01-08 01:54:25 +0300
commita853ed552545e116cf9b197b8c3c5cec80077f1e (patch)
tree23d81bb342f0171bfe0c67b24cd8703ff522775d /scripts/checkpatch.pl
parentd0ab8b649ba7636d181605e31bf3e42b0784bc67 (diff)
downloadlinux-a853ed552545e116cf9b197b8c3c5cec80077f1e.tar.xz
NFSD: Document lack of f_pos_lock in nfsd_readdir()
Al Viro notes that normal system calls hold f_pos_lock when calling ->iterate_shared and ->llseek; however nfsd_readdir() does not take that mutex when calling these methods. It should be safe however because the struct file acquired by nfsd_readdir() is not visible to other threads. Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions