blob: b6e38fd180d666430aeae6f013e2653f011707cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* smb_fs_i.h
*
* Copyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke
*
*/
#ifndef _LINUX_SMB_FS_I
#define _LINUX_SMB_FS_I
#ifdef __KERNEL__
#include <linux/smb.h>
enum smb_inode_state {
SMB_INODE_VALID = 19, /* Inode currently in use */
SMB_INODE_LOOKED_UP, /* directly before iget */
SMB_INODE_CACHED, /* in a path to an inode which is in use */
SMB_INODE_INVALID
};
/*
* smb fs inode data (in memory only)
*/
struct smb_inode_info {
enum smb_inode_state state;
int nused; /* for directories:
number of references in memory */
struct smb_inode_info *dir;
struct smb_inode_info *next, *prev;
struct smb_dirent finfo;
};
#endif
#endif
|