#ifndef _LINUX_FS_STRUCT_H #define _LINUX_FS_STRUCT_H #include <linux/path.h> #include <linux/spinlock.h> #include <linux/seqlock.h> struct fs_struct { int users; spinlock_t lock; seqcount_t seq; int umask; int in_exec; struct path root, pwd; } __randomize_layout; extern struct kmem_cache *fs_cachep; extern void exit_fs(struct task_struct *); extern void set_fs_root(struct fs_struct *, const struct path *); extern void set_fs_pwd(struct fs_struct *, const struct path *); extern struct fs_struct *copy_fs_struct(struct fs_struct *); extern void free_fs_struct(struct fs_struct *); extern int unshare_fs_struct(void);
static inline void get_fs_root(struct fs_struct *fs, struct path *root) { spin_lock(&fs->lock); *root = fs->root; path_get(root); spin_unlock(&fs->lock); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Miklos Szeredi | 43 | 95.56% | 1 | 50.00% |
Nicholas Piggin | 2 | 4.44% | 1 | 50.00% |
Total | 45 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Miklos Szeredi | 43 | 95.56% | 1 | 50.00% |
Nicholas Piggin | 2 | 4.44% | 1 | 50.00% |
Total | 45 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Miklos Szeredi | 86 | 40.57% | 1 | 6.67% |
Linus Torvalds (pre-git) | 71 | 33.49% | 3 | 20.00% |
Al Viro | 15 | 7.08% | 3 | 20.00% |
Nicholas Piggin | 14 | 6.60% | 2 | 13.33% |
Eric W. Biedermann | 7 | 3.30% | 1 | 6.67% |
Christoph Lameter | 6 | 2.83% | 1 | 6.67% |
Christoph Hellwig | 6 | 2.83% | 1 | 6.67% |
Jan Blunck | 6 | 2.83% | 2 | 13.33% |
Kees Cook | 1 | 0.47% | 1 | 6.67% |
Total | 212 | 100.00% | 15 | 100.00% |