6b13f685e
김민수
BSP 최초 추가
|
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
#ifndef _LINUX_NFSD_FH_H
#define _LINUX_NFSD_FH_H
# include <linux/sunrpc/svc.h>
#include <uapi/linux/nfsd/nfsfh.h>
static inline __u32 ino_t_to_u32(ino_t ino)
{
return (__u32) ino;
}
static inline ino_t u32_to_ino_t(__u32 uino)
{
return (ino_t) uino;
}
typedef struct svc_fh {
struct knfsd_fh fh_handle;
struct dentry * fh_dentry;
struct svc_export * fh_export;
int fh_maxsize;
unsigned char fh_locked;
unsigned char fh_want_write;
#ifdef CONFIG_NFSD_V3
unsigned char fh_post_saved;
unsigned char fh_pre_saved;
__u64 fh_pre_size;
struct timespec fh_pre_mtime;
struct timespec fh_pre_ctime;
u64 fh_pre_change;
struct kstat fh_post_attr;
u64 fh_post_change;
#endif /* CONFIG_NFSD_V3 */
} svc_fh;
#endif /* _LINUX_NFSD_FH_H */
|