commit | 52306e882f77d3fd73f91435c41373d634acc5d2 | [log] [tgz] |
---|---|---|
author | Benjamin Coddington <bcodding@redhat.com> | Sun Jul 16 10:28:21 2017 -0400 |
committer | Jeff Layton <jlayton@redhat.com> | Sun Jul 16 10:28:21 2017 -0400 |
tree | 31be579b3aa1a962de4ad73eb4e7ddbde911a11e | |
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 <bcodding@redhat.com> Signed-off-by: Jeff Layton <jlayton@redhat.com>