int gid = mf.getGroup_id();
int mode = mf.getMode();
int atime = (int) (mf.getLastAccessed() / 1000L);
int ctime = (int) (0 / 1000L);
int mtime = (int) (mf.lastModified() / 1000L);
<BUG>long fileLength = mf.length();
long actualBytes = (mf.getIOMonitor()
.getActualBytesWritten() * 2) / 1024;
if (actualBytes == 0
&& mf.getIOMonitor().getActualBytesWritten() > 0)

actualBytes = (Main.CHUNK_LENGTH * 2) / 1024;
getattrSetter.set(mf.getGUID().hashCode(), mode, 1,
uid, gid, 0, fileLength, actualBytes, atime,</BUG>
mtime, ctime);

int gid = mf.getGroup_id();
int mode = mf.getMode();
int atime = (int) (mf.getLastAccessed() / 1000L);
int ctime = (int) (0 / 1000L);
int mtime = (int) (mf.lastModified() / 1000L);
long fileLength = mf.length();
long actualBytes = (mf.getIOMonitor().getActualBytesWritten() * 2) / 1024;
if (actualBytes == 0 && mf.getIOMonitor().getActualBytesWritten() > 0)
actualBytes = (Main.CHUNK_LENGTH * 2) / 1024;
getattrSetter.set(mf.getGUID().hashCode(), mode, 1, uid, gid, 0, fileLength, actualBytes, atime,
mtime, ctime);
