commit | fcfa447062b2061e11f68b846d61cbfe60d0d604 | [log] [tgz] |
---|---|---|
author | Benjamin Coddington <bcodding@redhat.com> | Fri Nov 10 06:27:49 2017 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Fri Nov 17 16:43:52 2017 -0500 |
tree | ea0a4c4cc3f5edfe9c1bdacebd9d09b379334b4b | |
parent | f02fee227e5f21981152850744a6084ff3fa94ee [diff] |
NFS: Revert "NFS: Move the flock open mode check into nfs_flock()" Commit e12937279c8b "NFS: Move the flock open mode check into nfs_flock()" changed NFSv3 behavior for flock() such that the open mode must match the lock type, however that requirement shouldn't be enforced for flock(). Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Cc: stable@vger.kernel.org # v4.12 Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>