correct gnttab_get_status_frames()
authorJuergen Gross <jgross@suse.com>
Tue, 19 Sep 2017 15:48:23 +0000 (17:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 19 Sep 2017 15:48:23 +0000 (17:48 +0200)
commitf2e3b3b2e97bbea607983e44de8dbd023cc3bce3
tree242d808a56e8201d21bbd28abb40298faa3c7bee
parent7d190bdde9fd070b4b98bad33a1f68e3b02952c5
correct gnttab_get_status_frames()

In gnttab_get_status_frames() all accesses to nr_status_frames should
be done with the grant table lock held.

While at it correct coding style: labels should be indented by one
space.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/common/grant_table.c