]> 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)
commit4a373322b9193ae13289e6e2d72a940dd8a90a04
treec608f14fb0eec5b1bedfbb547efd7e3a6425e54d
parent2455481d6b68f46d53cb00b5f2058949eb92f588
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