Check-in [f7a81bb10b]
Overview
Comment:Set dev/rdev to something unique to this filesystem
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f7a81bb10b1130a41e74f5c769a82651da444026cdd1d4715093b4323e19bfaf
User & Date: rkeene on 2019-09-17 20:26:30
Other Links: manifest | tags
Context
2019-09-17
20:38
Updated to format test results more pleasingly check-in: e6735bc1dd user: rkeene tags: trunk
20:26
Set dev/rdev to something unique to this filesystem check-in: f7a81bb10b user: rkeene tags: trunk
20:26
Updated to build coverage across all built modules check-in: d1ae68c7a1 user: rkeene tags: trunk
Changes

Modified xvfs.c.rvt from [74cd5716ea] to [015931e23f].

190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
	inode = xvfs_<?= $::xvfs::fsName ?>_nameToIndex(path);
	if (inode == XVFS_NAME_LOOKUP_ERROR) {
		return(XVFS_RV_ERR_ENOENT);
	}
	
	fileInfo = &xvfs_<?= $::xvfs::fsName ?>_data[inode];
	
	statBuf->st_dev   = 0;
	statBuf->st_rdev  = 0;
	statBuf->st_ino   = inode;
	statBuf->st_uid   = -1;
	statBuf->st_gid   = -1;
	statBuf->st_atime = 0;
	statBuf->st_ctime = 0;
	statBuf->st_mtime = 0;
#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
	statBuf->st_blksize = XVFS_FILE_BLOCKSIZE;
#endif
	







|
|

|
|







190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
	inode = xvfs_<?= $::xvfs::fsName ?>_nameToIndex(path);
	if (inode == XVFS_NAME_LOOKUP_ERROR) {
		return(XVFS_RV_ERR_ENOENT);
	}
	
	fileInfo = &xvfs_<?= $::xvfs::fsName ?>_data[inode];
	
	statBuf->st_dev   = <?= [zlib adler32 $::xvfs::fsName] ?>;
	statBuf->st_rdev  = <?= [zlib adler32 $::xvfs::fsName] ?>;
	statBuf->st_ino   = inode;
	statBuf->st_uid   = 0;
	statBuf->st_gid   = 0;
	statBuf->st_atime = 0;
	statBuf->st_ctime = 0;
	statBuf->st_mtime = 0;
#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
	statBuf->st_blksize = XVFS_FILE_BLOCKSIZE;
#endif