Eric W. Biederman 393551e989 gfs2: Remove improper checks in gfs2_set_dqblk.
In set_dqblk it is an error to look at fdq->d_id or fdq->d_flags.
Userspace quota applications do not set these fields when calling
quotactl(Q_XSETQLIM,...), and the kernel does not set those fields
when quota_setquota calls set_dqblk.

gfs2 never looks at fdq->d_id or fdq->d_flags after checking
to see if they match the id and type supplied to set_dqblk.

No other linux filesystem in set_dqblk looks at either fdq->d_id
or fdq->d_flags.

Therefore remove these bogus checks from gfs2 and allow normal
quota setting applications to work.

Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2013-02-13 06:15:00 -08:00
..
2011-07-25 14:30:23 -04:00
2012-11-07 13:33:17 +00:00
2010-09-20 11:18:16 +01:00
2012-11-13 09:54:54 +00:00
2008-06-27 09:39:44 +01:00
2012-11-07 13:31:07 +00:00
2011-10-21 12:39:41 +01:00
2012-11-15 10:17:22 +00:00
2012-11-15 10:17:22 +00:00
2012-04-24 16:44:34 +01:00
2011-05-10 13:12:49 +01:00
2012-08-04 12:15:40 +04:00
2012-11-15 10:17:22 +00:00
2012-11-07 13:33:17 +00:00
2010-05-21 18:31:20 -04:00
2012-01-11 09:23:05 +00:00
2012-04-24 16:44:34 +01:00
2012-11-07 13:33:17 +00:00
2009-12-16 12:16:49 -05:00