diff options
author | Long Li <longli@microsoft.com> | 2018-04-17 12:17:07 -0700 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-04-25 11:15:58 -0500 |
commit | 8bcda1d2a79da4ab84162574eee2c9f6e1a12a03 (patch) | |
tree | 943add8ef3369365347c413c295f8ff3e7664c7a /fs/open.c | |
parent | bb4c0419476bd3982ba802f0f49de83cd79532d8 (diff) | |
download | linux-8bcda1d2a79da4ab84162574eee2c9f6e1a12a03.tar.bz2 |
cifs: smbd: Avoid allocating iov on the stack
It's not necessary to allocate another iov when going through the buffers
in smbd_send() through RDMA send.
Remove it to reduce stack size.
Thanks to Matt for spotting a printk typo in the earlier version of this.
CC: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions