X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=fs%2Fsuper.c;h=e931ae9511fef01f5ae98ea477b89f491a73bb00;hb=a1af7d15a18d1e375b0a6fee93789a0bbfe088b4;hp=a5a4aca7e22f32ed034331e000c7f9eb2bd3ae43;hpb=0ff5af8340aa6be44220d7237ef4a654314cf795;p=linux-2.6 diff --git a/fs/super.c b/fs/super.c index a5a4aca7e2..e931ae9511 100644 --- a/fs/super.c +++ b/fs/super.c @@ -70,6 +70,7 @@ static struct super_block *alloc_super(struct file_system_type *type) INIT_LIST_HEAD(&s->s_instances); INIT_HLIST_HEAD(&s->s_anon); INIT_LIST_HEAD(&s->s_inodes); + INIT_LIST_HEAD(&s->s_dentry_lru); init_rwsem(&s->s_umount); mutex_init(&s->s_lock); lockdep_set_class(&s->s_umount, &type->s_umount_key); @@ -117,7 +118,7 @@ static inline void destroy_super(struct super_block *s) * Drop a superblock's refcount. Returns non-zero if the superblock was * destroyed. The caller must hold sb_lock. */ -int __put_super(struct super_block *sb) +static int __put_super(struct super_block *sb) { int ret = 0;