diff options
author | Matt Helsley <mhelsley@vmware.com> | 2019-07-25 00:04:57 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-08-31 19:19:38 +0300 |
commit | 17e262e9954bc3b6c857670f60b5b015f53509a7 (patch) | |
tree | 9bb366f7bc3147f7243a53c345a566e359778898 /kernel/trace/trace_uprobe.c | |
parent | a146207916092a49bd01ef861ac9582fd318c21a (diff) | |
download | linux-17e262e9954bc3b6c857670f60b5b015f53509a7.tar.xz |
recordmcount: Remove unused fd from uwrite() and ulseek()
uwrite() works within the pseudo-mapping and extends it as necessary
without needing the file descriptor (fd) parameter passed to it.
Similarly, ulseek() doesn't need its fd parameter. These parameters
were only added because the functions bear a conceptual resemblance
to write() and lseek(). Worse, they obscure the fact that at the time
uwrite() and ulseek() are called fd_map is not a valid file descriptor.
Remove the unused file descriptor parameters that make it look like
fd_map is still valid.
Link: http://lkml.kernel.org/r/2a136e820ee208469d375265c7b8eb28570749a0.1563992889.git.mhelsley@vmware.com
Signed-off-by: Matt Helsley <mhelsley@vmware.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_uprobe.c')
0 files changed, 0 insertions, 0 deletions