diff options
author | Benjamin Coddington <[email protected]> | 2017-07-16 10:28:21 -0400 |
---|---|---|
committer | Jeff Layton <[email protected]> | 2017-07-16 10:28:21 -0400 |
commit | 52306e882f77d3fd73f91435c41373d634acc5d2 (patch) | |
tree | 31be579b3aa1a962de4ad73eb4e7ddbde911a11e /lib/memory-notifier-error-inject.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) |
fs/locks: Use allocation rather than the stack in fcntl_getlk()
Struct file_lock is fairly large, so let's save some space on the stack by
using an allocation for struct file_lock in fcntl_getlk(), just as we do
for fcntl_setlk().
Signed-off-by: Benjamin Coddington <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions