summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2017-07-16 10:28:21 -0400
committerJeff Layton <jlayton@redhat.com>2017-07-16 10:28:21 -0400
commit52306e882f77d3fd73f91435c41373d634acc5d2 (patch)
tree31be579b3aa1a962de4ad73eb4e7ddbde911a11e /fs/9p
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadlinux-stable-52306e882f77d3fd73f91435c41373d634acc5d2.tar.gz
linux-stable-52306e882f77d3fd73f91435c41373d634acc5d2.tar.bz2
linux-stable-52306e882f77d3fd73f91435c41373d634acc5d2.zip
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>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions