conn rcv_lock converted to spinlock, struct cor_sock created, kernel_packet skb_clone...
[cor_2_6_31.git] / include / linux / fs_struct.h
blob78a05bfcd8ebd6075b2add0da9da064804e645d6
1 #ifndef _LINUX_FS_STRUCT_H
2 #define _LINUX_FS_STRUCT_H
4 #include <linux/path.h>
6 struct fs_struct {
7 int users;
8 rwlock_t lock;
9 int umask;
10 int in_exec;
11 struct path root, pwd;
14 extern struct kmem_cache *fs_cachep;
16 extern void exit_fs(struct task_struct *);
17 extern void set_fs_root(struct fs_struct *, struct path *);
18 extern void set_fs_pwd(struct fs_struct *, struct path *);
19 extern struct fs_struct *copy_fs_struct(struct fs_struct *);
20 extern void free_fs_struct(struct fs_struct *);
21 extern void daemonize_fs_struct(void);
22 extern int unshare_fs_struct(void);
24 #endif /* _LINUX_FS_STRUCT_H */