diff options
author | Rohith Surabattula <rohiths@microsoft.com> | 2021-05-05 10:56:47 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-05-19 21:11:26 -0500 |
commit | 860b69a9d77160d21ca00357fd6c5217f9d41fb1 (patch) | |
tree | 5668410148272ff6aaacdc8418320f79b14f503f /fs/affs | |
parent | e83aa3528a38bddae182a35d0efb5a6c35143c1c (diff) |
Fix kernel oops when CONFIG_DEBUG_ATOMIC_SLEEP is enabled.
Removed oplock_break_received flag which was added to achieve
synchronization between oplock handler and open handler by earlier commit.
It is not needed because there is an existing lock open_file_lock to achieve
the same. find_readable_file takes open_file_lock and then traverses the
openFileList. Similarly, cifs_oplock_break while closing the deferred
handle (i.e cifsFileInfo_put) takes open_file_lock and then sends close
to the server.
Added comments for better readability.
Signed-off-by: Rohith Surabattula <rohiths@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions