diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-05-27 17:37:33 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-05-28 18:32:31 +0400 |
commit | 07119a4df8c8c77d888f2f46964ea9512ea84ff8 (patch) | |
tree | 546a3c2e66b60db890421c83106d5f6329e9ffce /fs/cifs/file.c | |
parent | f55ed1a83d099f275c9560ad7d4c4700d1e54bdd (diff) | |
download | linux-07119a4df8c8c77d888f2f46964ea9512ea84ff8.tar.xz |
cifs: have cifs_NTtimeToUnix take a little-endian arg
...and just have the function call le64_to_cpu.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 302ea15f02e6..06866841b97f 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -241,7 +241,7 @@ static inline int cifs_open_inode_helper(struct inode *inode, struct file *file, /* BB need same check in cifs_create too? */ /* if not oplocked, invalidate inode pages if mtime or file size changed */ - temp = cifs_NTtimeToUnix(le64_to_cpu(buf->LastWriteTime)); + temp = cifs_NTtimeToUnix(buf->LastWriteTime); if (timespec_equal(&file->f_path.dentry->d_inode->i_mtime, &temp) && (file->f_path.dentry->d_inode->i_size == (loff_t)le64_to_cpu(buf->EndOfFile))) { |