]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/linux/smb_fs_i.h
4 * Copyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke
5 * Copyright (C) 1997 by Volker Lendecke
9 #ifndef _LINUX_SMB_FS_I
10 #define _LINUX_SMB_FS_I
13 #include <linux/types.h>
17 * smb fs inode data (in memory only)
19 struct smb_inode_info
{
22 * file handles are local to a connection. A file is open if
23 * (open == generation).
25 unsigned int open
; /* open generation */
26 __u16 fileid
; /* What id to handle a file with? */
27 __u16 attr
; /* Attribute fields, DOS value */
29 __u16 access
; /* Access mode */
31 unsigned long oldmtime
; /* last time refreshed */
32 unsigned long closed
; /* timestamp when closed */
33 unsigned openers
; /* number of fileid users */
35 struct inode vfs_inode
; /* must be at the end */