diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-10-04 01:24:38 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-10-24 04:16:05 +0200 |
commit | 9645759ce6b39013231f4fa312834935c93fe5bc (patch) | |
tree | 840006325e95d43e220f1940e14f62dda503ac5c /fs/cifs/cifsglob.h | |
parent | CIFS: SMBD: Do not call ib_dereg_mr on invalidated memory registration (diff) | |
download | linux-9645759ce6b39013231f4fa312834935c93fe5bc.tar.xz linux-9645759ce6b39013231f4fa312834935c93fe5bc.zip |
cifs: OFD locks do not conflict with eachothers
RHBZ 1484130
Update cifs_find_fid_lock_conflict() to recognize that
ODF locks do not conflict with eachother.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 2a9c4ab3ec5c..819ead41bbe2 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1074,7 +1074,8 @@ struct cifsLockInfo { __u64 offset; __u64 length; __u32 pid; - __u32 type; + __u16 type; + __u16 flags; }; /* |