~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/smbfs/smb_fs_i.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  smb_fs_i.h
3
 
 *
4
 
 *  Copyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke
5
 
 *  Copyright (C) 1997 by Volker Lendecke
6
 
 *
7
 
 */
8
 
 
9
 
#ifndef _LINUX_SMB_FS_I
10
 
#define _LINUX_SMB_FS_I
11
 
 
12
 
#include <linux/types.h>
13
 
#include <linux/fs.h>
14
 
 
15
 
/*
16
 
 * smb fs inode data (in memory only)
17
 
 */
18
 
struct smb_inode_info {
19
 
 
20
 
        /*
21
 
         * file handles are local to a connection. A file is open if
22
 
         * (open == generation).
23
 
         */
24
 
        unsigned int open;      /* open generation */
25
 
        __u16 fileid;           /* What id to handle a file with? */
26
 
        __u16 attr;             /* Attribute fields, DOS value */
27
 
 
28
 
        __u16 access;           /* Access mode */
29
 
        __u16 flags;
30
 
        unsigned long oldmtime; /* last time refreshed */
31
 
        unsigned long closed;   /* timestamp when closed */
32
 
        unsigned openers;       /* number of fileid users */
33
 
 
34
 
        struct inode vfs_inode; /* must be at the end */
35
 
};
36
 
 
37
 
#endif