locks: fix generic_delete_lease tracepoint to use victim pointer
authorJeff Layton <jeff.layton@primarydata.com>
Sat, 14 Mar 2015 13:45:35 +0000 (09:45 -0400)
committerJeff Layton <jeff.layton@primarydata.com>
Sat, 14 Mar 2015 13:45:35 +0000 (09:45 -0400)
commita9b1b455c519ee2fd6a4f9c069511e67b5be1ac4
treefca77973993a7b94d9e6bd5c38099822a1d3d2cf
parent5fb0f7fa7f6e70ac6d8fca07733e55f6dae2969d
locks: fix generic_delete_lease tracepoint to use victim pointer

It's possible that "fl" won't point at a valid lock at this point, so
use "victim" instead which is either a valid lock or NULL.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
fs/locks.c