~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to ubuntu/aufs/sysrq.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        {
77
77
                struct inode *i;
78
78
                printk(KERN_WARNING AUFS_NAME ": isolated inode\n");
79
 
                spin_lock(&inode_lock);
80
 
                list_for_each_entry(i, &sb->s_inodes, i_sb_list)
 
79
                spin_lock(&inode_sb_list_lock);
 
80
                list_for_each_entry(i, &sb->s_inodes, i_sb_list) {
 
81
                        spin_lock(&i->i_lock);
81
82
                        if (1 || list_empty(&i->i_dentry))
82
83
                                au_dpri_inode(i);
83
 
                spin_unlock(&inode_lock);
 
84
                        spin_unlock(&i->i_lock);
 
85
                }
 
86
                spin_unlock(&inode_sb_list_lock);
84
87
        }
85
88
#endif
86
89
        printk(KERN_WARNING AUFS_NAME ": files\n");