X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fdquot.c;h=ea7644227a65d7d393758e136d62ca7797235adb;hb=3428c209c6820bbbb7dfb323caef8d402b3deb4c;hp=b9732335bcdcd6006733a9561e9ef8ceb8769117;hpb=d2f6409584e2c62ffad81690562330ff3bf4a458;p=linux-2.6-omap-h63xx.git diff --git a/fs/dquot.c b/fs/dquot.c index b9732335bcd..ea7644227a6 100644 --- a/fs/dquot.c +++ b/fs/dquot.c @@ -500,7 +500,7 @@ static void prune_dqcache(int count) * more memory */ -static int shrink_dqcache_memory(int nr, unsigned int gfp_mask) +static int shrink_dqcache_memory(int nr, gfp_t gfp_mask) { if (nr) { spin_lock(&dq_list_lock); @@ -662,7 +662,7 @@ static void add_dquot_ref(struct super_block *sb, int type) restart: file_list_lock(); list_for_each(p, &sb->s_files) { - struct file *filp = list_entry(p, struct file, f_list); + struct file *filp = list_entry(p, struct file, f_u.fu_list); struct inode *inode = filp->f_dentry->d_inode; if (filp->f_mode & FMODE_WRITE && dqinit_needed(inode, type)) { struct dentry *dentry = dget(filp->f_dentry);