diff options
author | Jeff Layton <jeff.layton@primarydata.com> | 2015-01-16 15:05:58 -0500 |
---|---|---|
committer | Jeff Layton <jeff.layton@primarydata.com> | 2015-01-16 16:08:50 -0500 |
commit | 3d8e560de4a076b302cb0cc17e998aaace2b176a (patch) | |
tree | d63c4b03e7e1c5e937b49385d7f630b7921f1119 /include/linux/fs.h | |
parent | 9bd0f45b7037fcfa8b575c7e27d0431d6e6dc3bb (diff) | |
download | lwn-3d8e560de4a076b302cb0cc17e998aaace2b176a.tar.gz lwn-3d8e560de4a076b302cb0cc17e998aaace2b176a.zip |
locks: consolidate NULL i_flctx checks in locks_remove_file
We have each of the locks_remove_* variants doing this individually.
Have the caller do it instead, and have locks_remove_flock and
locks_remove_lease just assume that it's a valid pointer.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions