]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/cifs/cifsfs.h
Cleanup missing frees on some ioctls
[mirror_ubuntu-zesty-kernel.git] / fs / cifs / cifsfs.h
index 9dcf974acc47f657ce5da39804bf7f887aeafc31..c9c00a862036f680af9e950c6ec13a2ca07ae854 100644 (file)
@@ -41,6 +41,16 @@ cifs_uniqueid_to_ino_t(u64 fileid)
 
 }
 
+static inline void cifs_set_time(struct dentry *dentry, unsigned long time)
+{
+       dentry->d_fsdata = (void *) time;
+}
+
+static inline unsigned long cifs_get_time(struct dentry *dentry)
+{
+       return (unsigned long) dentry->d_fsdata;
+}
+
 extern struct file_system_type cifs_fs_type;
 extern const struct address_space_operations cifs_addr_ops;
 extern const struct address_space_operations cifs_addr_ops_smallbuf;