diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2017-07-16 16:28:21 +0200 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-16 16:28:21 +0200 |
commit | 52306e882f77d3fd73f91435c41373d634acc5d2 (patch) | |
tree | 31be579b3aa1a962de4ad73eb4e7ddbde911a11e /fs/ocfs2/blockcheck.c | |
parent | Linux v4.13-rc1 (diff) | |
download | linux-52306e882f77d3fd73f91435c41373d634acc5d2.tar.xz linux-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/ocfs2/blockcheck.c')
0 files changed, 0 insertions, 0 deletions