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

Issue 16122002: [NaCl SDK] MountNodeDir::GetDents sets d_off instead of leaving it undefined. (Closed)

Created:
7 years, 6 months ago by Matt Giuca
Modified:
7 years, 6 months ago
Reviewers:
binji
CC:
chromium-reviews, binji, Sam Clegg, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[NaCl SDK] MountNodeDir::GetDents sets d_off instead of leaving it undefined. This fixes the response from readdir when applied to memfs mounts. Also added tests for st_ino (from MountNode::GetStat) and d_ino, d_off and d_reclen (from MountNodeDir::GetDents). In a test environment, MountNode now sets st_ino to 1, instead of 0 (since 0 is an invalid inode value). BUG=244315 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202767

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M native_client_sdk/src/libraries/nacl_io/mount_node.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_dir.cc View 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io_test/mount_node_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Matt Giuca
7 years, 6 months ago (2013-05-28 04:04:02 UTC) #1
binji
lgtm, thanks!
7 years, 6 months ago (2013-05-28 16:45:40 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/16122002/1
7 years, 6 months ago (2013-05-28 23:50:46 UTC) #3
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 03:55:23 UTC) #4
Message was sent while issue was closed.
Change committed as 202767

Powered by Google App Engine
This is Rietveld 408576698