Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Issue 2311863002: Fix a bug where read-only volumes were recognized as read-write. (Closed)

Created:
4 years, 3 months ago by yamaguchi
Modified:
4 years, 3 months ago
Reviewers:
satorux1
CC:
chromium-reviews, oshima+watch_chromium.org, fukino
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a bug where read-only volumes were recognized as read-write. This problem happened because the read-only attribute of the disk volume was unconditionally overwritten by the values in |access_modes_|. The patch fixes this problem by applying the values in |access_modes_| only when it's needed. The bug was introduced in crrev.com/2230713003 . BUG=644077 Committed: https://crrev.com/21448d5b5c6aaa880981393d0c55ef865b754596 Cr-Commit-Position: refs/heads/master@{#416575}

Patch Set 1 #

Patch Set 2 : Revise comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M chromeos/disks/disk_mount_manager.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M chromeos/disks/disk_mount_manager_unittest.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
yamaguchi
4 years, 3 months ago (2016-09-05 11:17:34 UTC) #1
yamaguchi
4 years, 3 months ago (2016-09-05 12:14:15 UTC) #3
satorux1
LGTM, but could you revise the description? This change is a bug fix, but it's ...
4 years, 3 months ago (2016-09-06 01:53:16 UTC) #8
yamaguchi
On 2016/09/06 01:53:16, satorux1 wrote: > LGTM, but could you revise the description? This change ...
4 years, 3 months ago (2016-09-06 02:00:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2311863002/20001
4 years, 3 months ago (2016-09-06 02:00:25 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-06 02:05:12 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 02:07:22 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/21448d5b5c6aaa880981393d0c55ef865b754596
Cr-Commit-Position: refs/heads/master@{#416575}

Powered by Google App Engine
This is Rietveld 408576698