64-bit REQ_TRC_START, REQ_TRC_END

Change-Id: I567804209695b5ec0d83a453d93e36cbf8900f1a
This commit is contained in:
Ben Gras
2014-02-24 17:28:29 +01:00
committed by Lionel Sambuc
parent e6daf20a69
commit 3f3e78ef59
7 changed files with 15 additions and 29 deletions

View File

@@ -22,8 +22,8 @@ int fs_ftrunc(void)
if ((pn = puffs_pn_nodewalk(global_pu, 0, &fs_m_in.REQ_INODE_NR)) == NULL)
return(EINVAL);
start = fs_m_in.REQ_TRC_START_LO;
end = fs_m_in.REQ_TRC_END_LO;
start = fs_m_in.REQ_TRC_START;
end = fs_m_in.REQ_TRC_END;
if (end == 0) {
struct vattr va;

View File

@@ -131,8 +131,8 @@ int do_ftrunc(void)
if (IS_DIR(ino)) return EISDIR;
start = make64(m_in.REQ_TRC_START_LO, m_in.REQ_TRC_START_HI);
end = make64(m_in.REQ_TRC_END_LO, m_in.REQ_TRC_END_HI);
start = m_in.REQ_TRC_START;
end = m_in.REQ_TRC_END;
if (end == 0) {
/* Truncate or expand the file. */