Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117473
b: refs/heads/master
c: 6de24f0
h: refs/heads/master
i:
  117471: ce28746
v: v3
  • Loading branch information
Alexey Dobriyan authored and Al Viro committed Oct 23, 2008
1 parent de9f93a commit 3891503
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8966c5e0fc867f5a7da5756b4cd1b8bbbed3d5dd
refs/heads/master: 6de24f0ed08054b2a202902e4d63beff27654db8
7 changes: 1 addition & 6 deletions trunk/fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ void emergency_remount(void)
* filesystems which don't use real block-devices. -- jrs
*/

static struct idr unnamed_dev_idr;
static DEFINE_IDR(unnamed_dev_idr);
static DEFINE_SPINLOCK(unnamed_dev_lock);/* protects the above */

int set_anon_super(struct super_block *s, void *data)
Expand Down Expand Up @@ -726,11 +726,6 @@ void kill_anon_super(struct super_block *sb)

EXPORT_SYMBOL(kill_anon_super);

void __init unnamed_dev_init(void)
{
idr_init(&unnamed_dev_idr);
}

void kill_litter_super(struct super_block *sb)
{
if (sb->s_root)
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,6 @@ extern int get_sb_pseudo(struct file_system_type *, char *,
struct vfsmount *mnt);
extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb);
int __put_super_and_need_restart(struct super_block *sb);
void unnamed_dev_init(void);

/* Alas, no aliases. Too much hassle with bringing module.h everywhere */
#define fops_get(fops) \
Expand Down
1 change: 0 additions & 1 deletion trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,6 @@ asmlinkage void __init start_kernel(void)
fork_init(num_physpages);
proc_caches_init();
buffer_init();
unnamed_dev_init();
key_init();
security_init();
vfs_caches_init(num_physpages);
Expand Down

0 comments on commit 3891503

Please sign in to comment.