]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: s64 cast for negative quota value
authorAbhi Das <adas@redhat.com>
Mon, 8 Jun 2015 16:20:50 +0000 (11:20 -0500)
committerBob Peterson <rpeterso@redhat.com>
Mon, 8 Jun 2015 16:20:50 +0000 (11:20 -0500)
commit4d7276133500d7580a30b6cebb6127b5fab2b2d5
treec608f14fb0eec5b1bedfbb547efd7e3a6425e54d
parent5c8391af05ad325d253248cab6d228c216cdc691
gfs2: s64 cast for negative quota value

One-line fix to cast quota value to s64 before comparison.
By default the quantity is treated as u64.

Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/quota.c