summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-07-21 19:01:34 -0400
committerJeff Layton <jlayton@kernel.org>2019-07-22 06:54:41 -0400
commit6b0e42771795334bd24d089402d04d93bac048d3 (patch)
tree8512bcaad5af17ca7b3796d946bfc68ee87bb18a /fs/locks.c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-stable-6b0e42771795334bd24d089402d04d93bac048d3.tar.gz
linux-stable-6b0e42771795334bd24d089402d04d93bac048d3.tar.bz2
linux-stable-6b0e42771795334bd24d089402d04d93bac048d3.zip
locks: revise generic_add_lease tracepoint
Now that check_conflicting_open uses inode->i_readcount instead of the dentry->d_count to detect opens for read, revise the tracepoint to display that value instead. Also, fl is never NULL, so no need to check for that in the fast assign section. Cc: Amir Goldstein <amir73il@gmail.com> Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions