Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31841
b: refs/heads/master
c: 897c6ff
h: refs/heads/master
i:
  31839: ae65d87
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Jul 3, 2006
1 parent 5f3e6a1 commit 4c5509f
Show file tree
Hide file tree
Showing 3 changed files with 3 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: cf51624999e56c88154b5f7d451a265db6aabff7
refs/heads/master: 897c6ff9568bcb102ffc6b465ebe1def0cba829d
1 change: 1 addition & 0 deletions trunk/fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ static struct super_block *alloc_super(struct file_system_type *type)
INIT_LIST_HEAD(&s->s_inodes);
init_rwsem(&s->s_umount);
mutex_init(&s->s_lock);
lockdep_set_class(&s->s_umount, &type->s_umount_key);
/*
* The locking rules for s_lock are up to the
* filesystem. For example ext3fs has different
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,7 @@ struct file_system_type {
struct file_system_type * next;
struct list_head fs_supers;
struct lock_class_key s_lock_key;
struct lock_class_key s_umount_key;
};

extern int get_sb_bdev(struct file_system_type *fs_type,
Expand Down

0 comments on commit 4c5509f

Please sign in to comment.