]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Remove unused RGRP_RSRV_MINBYTES definition
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 25 Sep 2018 11:59:31 +0000 (12:59 +0100)
committerBob Peterson <rpeterso@redhat.com>
Fri, 12 Oct 2018 12:29:59 +0000 (07:29 -0500)
commitbaf33a678bac79652cdc1c1bc25ca2a6da7f130d
treea7442b568e90ade457fe17aeb2d0e5d23fc3e437
parent0663b11125e5e8449609a5475fdfc401c0536e21
gfs2: Remove unused RGRP_RSRV_MINBYTES definition

This definition is only used to define RGRP_RSRV_MINBLKS, with no
benefit over defining RGRP_RSRV_MINBLKS directly.

In addition, instead of forcing RGRP_RSRV_MINBLKS to be of type u32,
cast it to that type where that type is required.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h