diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2021-07-30 06:43:09 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-11-10 11:05:20 -0600 |
commit | b6f2a0f89d7ed80382ec9cba8fc521129ae9baa1 (patch) | |
tree | f81e6abb4e41b7a61900e8db036e730e09c11ad1 /fs/namei.c | |
parent | 4ac0536f8874a903a72bddc57eb88db774261e3a (diff) | |
download | linux-b6f2a0f89d7ed80382ec9cba8fc521129ae9baa1.tar.bz2 |
cifs: for compound requests, use open handle if possible
For smb2_compound_op, it is possible to pass a ref to
an already open file. We should be passing it whenever possible.
i.e. if a matching handle is already kept open.
If we don't do that, we will end up breaking leases for files
kept open on the same client.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions