Request an overlay for the root vnode as well so attributes are available on the fs root as well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29197 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2009-02-14 12:49:41 +00:00
parent 6e5f12279d
commit 3e01561729
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@ fs_mount(fs_volume *_volume, const char *device, uint32 flags,
volume->id = _volume->id; volume->id = _volume->id;
result = publish_vnode(_volume, *_rootID, &volume->rootDirRec, result = publish_vnode(_volume, *_rootID, &volume->rootDirRec,
&gISO9660VnodeOps, volume->rootDirRec.attr.stat[FS_DATA_FORMAT].st_mode, 0); &gISO9660VnodeOps, volume->rootDirRec.attr.stat[FS_DATA_FORMAT].st_mode,
B_VNODE_WANTS_OVERLAY_SUB_NODE);
if (result != B_OK) { if (result != B_OK) {
block_cache_delete(volume->fBlockCache, false); block_cache_delete(volume->fBlockCache, false);
free(volume); free(volume);