Limit the maximum number of smbfs shares that can be mounted
Enforce a limit on the maximum number of smbfs shares that can be mounted by request of the user. When the limit is reached, the user will see the message "Error mounting share. Too many SMB shares are already mounted." in the "Add file share" dialog box. Fixed: 1060396 Change-Id: I21467250d7c273d34591f351bc955a4e7d041a45 Test: unit_tests --gtest_filter="SmbServiceWithSmbfsTest.MountExcessiveShares" Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100052 Commit-Queue: Josh Simmons <simmonsjosh@google.com> Reviewed-by:Anand Mistry <amistry@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#750879}
Showing
Please register or sign in to comment