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

« back to all changes in this revision

Viewing changes to fs/quota/dquot.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:
691
691
 * This is called from kswapd when we think we need some
692
692
 * more memory
693
693
 */
694
 
static int shrink_dqcache_memory(struct shrinker *shrink, int nr, gfp_t gfp_mask)
 
694
static int shrink_dqcache_memory(struct shrinker *shrink,
 
695
                                 struct shrink_control *sc)
695
696
{
 
697
        int nr = sc->nr_to_scan;
 
698
 
696
699
        if (nr) {
697
700
                spin_lock(&dq_list_lock);
698
701
                prune_dqcache(nr);