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)
commit1bdf45352e1897ab02632a4ed3648db8cc183f71
treec608f14fb0eec5b1bedfbb547efd7e3a6425e54d
parent9cde2898d04595c3bf24828822b3ea7acff181dd
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