Commit 48739233 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] Some leftover nsec stat fixes (ADFS,AFS,CIFS)

This fixes some more file system for the CURRENT_TIME change:
AFS, ADFS, and a harmless one in CIFS.

Somehow these changes got lost in the original patch kit.
parent 56023a7b
......@@ -185,7 +185,7 @@ adfs_adfs2unix_time(struct inode *inode)
unsigned int high, low;
if (ADFS_I(inode)->stamped == 0)
return CURRENT_TIME;
return get_seconds();
high = ADFS_I(inode)->loadaddr << 24;
low = ADFS_I(inode)->execaddr;
......
......@@ -584,7 +584,7 @@ int afs_rxvl_get_entry_by_id_async2(afs_async_op_t *op,
#endif
/* success */
entry->ctime = CURRENT_TIME;
entry->ctime = get_seconds();
ret = 0;
goto done;
}
......
......@@ -271,7 +271,7 @@ cifs_d_revalidate(struct dentry *direntry, int flags)
("In cifs_d_revalidate, name = %s and inode = 0x%p with count %d with time %ld and dentry 0x%p with time %ld\n",
direntry->d_name.name, direntry->d_inode,
direntry->d_inode->i_count.counter,
direntry->d_inode->i_atime, direntry, direntry->d_time));
direntry->d_inode->i_atime.tv_sec, direntry, direntry->d_time));
if (cifs_revalidate(direntry)) {
/* unlock_kernel(); */
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment