commit | 6b0e42771795334bd24d089402d04d93bac048d3 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Sun Jul 21 19:01:34 2019 -0400 |
committer | Jeff Layton <jlayton@kernel.org> | Mon Jul 22 06:54:41 2019 -0400 |
tree | 8512bcaad5af17ca7b3796d946bfc68ee87bb18a | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b [diff] |
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>