summaryrefslogtreecommitdiffstats
path: root/samples/kdb
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-02-01 02:09:03 -0800
committerEric W. Biederman <ebiederm@xmission.com>2013-02-13 06:15:00 -0800
commit393551e9898136513007b1e88a25bd4dcdb0d759 (patch)
treeb9e27269be741223244cec66278d0f9602763c35 /samples/kdb
parentecb528e3ea208750693731538411f86f78a4d965 (diff)
downloadblackbird-op-linux-393551e9898136513007b1e88a25bd4dcdb0d759.tar.gz
blackbird-op-linux-393551e9898136513007b1e88a25bd4dcdb0d759.zip
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>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud