[PATCH 0/2] Drivers: hv: vmbus: Fix sysfs functions that display monitor id and page data

From: Kimberly Brown
Date: Fri Feb 08 2019 - 16:04:04 EST


Some of the monitor id and monitor page data sysfs files display
incorrect data. This patchset provides the following changes:

1) Change the monitor_pages index in server_monitor_pending_show() to
'0', which is the correct index for the server.

2) If monitor pages are not allocated to a channel, display nothing in
the channel's monitor id and monitor page data sysfs files. The data
that is currently shown in sysfs is incorrect.


Kimberly Brown (2):
Drivers: hv: vmbus: Change server monitor_pages index to 0
Drivers: hv: vmbus: Display nothing in sysfs if monitor_allocated not
set

Documentation/ABI/stable/sysfs-bus-vmbus | 9 ++++--
drivers/hv/vmbus_drv.c | 39 +++++++++++++++++++++++-
2 files changed, 44 insertions(+), 4 deletions(-)

--
2.17.1