summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorMiklos Szeredi2016-09-16 12:44:21 +0200
committerMiklos Szeredi2016-09-16 12:44:21 +0200
commita00be0e31f8df453ecbaaa4ba78d2ef935ab252e (patch)
tree75c1e8e88132090b5d8721ab927cd053a24b2ff3 /fs/cifs/inode.c
parentposix_acl: don't ignore return value of posix_acl_create_masq() (diff)
downloadkernel-qcow2-linux-a00be0e31f8df453ecbaaa4ba78d2ef935ab252e.tar.gz
kernel-qcow2-linux-a00be0e31f8df453ecbaaa4ba78d2ef935ab252e.tar.xz
kernel-qcow2-linux-a00be0e31f8df453ecbaaa4ba78d2ef935ab252e.zip
cifs: don't use ->d_time
Use d_fsdata instead, which is the same size. Introduce helpers to hide the typecasts. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Cc: Steve French <sfrench@samba.org>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index b87efd0c92d6..0b4a35514351 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -1951,7 +1951,7 @@ int cifs_revalidate_dentry_attr(struct dentry *dentry)
cifs_dbg(FYI, "Update attributes: %s inode 0x%p count %d dentry: 0x%p d_time %ld jiffies %ld\n",
full_path, inode, inode->i_count.counter,
- dentry, dentry->d_time, jiffies);
+ dentry, cifs_get_time(dentry), jiffies);
if (cifs_sb_master_tcon(CIFS_SB(sb))->unix_ext)
rc = cifs_get_inode_info_unix(&inode, full_path, sb, xid);