Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18645
b: refs/heads/master
c: f87fd4c
h: refs/heads/master
i:
  18643: 4c064fd
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Jan 17, 2006
1 parent ef36e2a commit a6994ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0e6e1db4ac7acfe3e38bbef9eba59233ba7f6b9a
refs/heads/master: f87fd4c2a0c4f3baad28057360b36a59591ef751
5 changes: 5 additions & 0 deletions trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ static int hash_mask __read_mostly, hash_bits __read_mostly;
static kmem_cache_t *mnt_cache;
static struct rw_semaphore namespace_sem;

/* /sys/fs */
decl_subsys(fs, NULL, NULL);
EXPORT_SYMBOL_GPL(fs_subsys);

static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry)
{
unsigned long tmp = ((unsigned long)mnt / L1_CACHE_BYTES);
Expand Down Expand Up @@ -1725,6 +1729,7 @@ void __init mnt_init(unsigned long mempages)
i--;
} while (i);
sysfs_init();
subsystem_register(&fs_subsys);
init_rootfs();
init_mount_tree();
}
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,9 @@ extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *,

extern int vfs_statfs(struct super_block *, struct kstatfs *);

/* /sys/fs */
extern struct subsystem fs_subsys;

#define FLOCK_VERIFY_READ 1
#define FLOCK_VERIFY_WRITE 2

Expand Down

0 comments on commit a6994ce

Please sign in to comment.