]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: remove the retry in cifs_poxis_lock_set
authoryangerkun <yangerkun@huawei.com>
Thu, 2 Jul 2020 07:25:26 +0000 (15:25 +0800)
committerSteve French <stfrench@microsoft.com>
Wed, 8 Jul 2020 04:51:16 +0000 (23:51 -0500)
commit681c354677d4ce162c08a1fab6ba1ae2bada9394
treee2139fe36e0c6886f668e31aa4e008be1547eee3
parentfb41f20606359332642d3103eade46d13b232009
cifs: remove the retry in cifs_poxis_lock_set

The caller of cifs_posix_lock_set will do retry(like
fcntl_setlk64->do_lock_file_wait) if we will wait for any file_lock.
So the retry in cifs_poxis_lock_set seems duplicated, remove it to
make a cleanup.

Signed-off-by: yangerkun <yangerkun@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: NeilBrown <neilb@suse.de>
fs/cifs/file.c