~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to mm/filemap_xip.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
                return;
184
184
 
185
185
retry:
186
 
        spin_lock(&mapping->i_mmap_lock);
 
186
        mutex_lock(&mapping->i_mmap_mutex);
187
187
        vma_prio_tree_foreach(vma, &iter, &mapping->i_mmap, pgoff, pgoff) {
188
188
                mm = vma->vm_mm;
189
189
                address = vma->vm_start +
201
201
                        page_cache_release(page);
202
202
                }
203
203
        }
204
 
        spin_unlock(&mapping->i_mmap_lock);
 
204
        mutex_unlock(&mapping->i_mmap_mutex);
205
205
 
206
206
        if (locked) {
207
207
                mutex_unlock(&xip_sparse_mutex);