summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/cache.h
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2020-05-21 12:17:59 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-10 15:24:56 +0200
commit8fd456ec0cf03875908d6b67c1cd20cf0a7b4474 (patch)
tree553496d0bbead2370f0eb1510a92db046bc9df9e /fs/nfsd/cache.h
parent287905e68dd29873bcb7986a8290cd1e4cfde600 (diff)
downloadlinux-stable-8fd456ec0cf03875908d6b67c1cd20cf0a7b4474.tar.gz
linux-stable-8fd456ec0cf03875908d6b67c1cd20cf0a7b4474.tar.bz2
linux-stable-8fd456ec0cf03875908d6b67c1cd20cf0a7b4474.zip
driver core: Add state_synced sysfs file for devices that support it
This can be used to check if a device supports sync_state() callbacks and therefore keeps resources left on by the bootloader enabled till all its consumers have probed. This can also be used to check if sync_state() has been called for a device or whether it is still trying to keep resources enabled because they were left enabled by the bootloader and all its consumers haven't probed yet. Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20200521191800.136035-3-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfsd/cache.h')
0 files changed, 0 insertions, 0 deletions