#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; }; 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.76% | 1 | 7.14% |
Linus Torvalds (pre-git) | 71 | 33.65% | 3 | 21.43% |
Al Viro | 15 | 7.11% | 3 | 21.43% |
Nicholas Piggin | 14 | 6.64% | 2 | 14.29% |
Eric W. Biedermann | 7 | 3.32% | 1 | 7.14% |
Christoph Lameter | 6 | 2.84% | 1 | 7.14% |
Christoph Hellwig | 6 | 2.84% | 1 | 7.14% |
Jan Blunck | 6 | 2.84% | 2 | 14.29% |
Total | 211 | 100.00% | 14 | 100.00% |