mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-27 02:14:22 +00:00
scst_sysfs: Introduce scst_kobject_put_and_wait()
This patch does not change any functionality other than the message printed when it takes more than one second before the completion is signalled. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5086 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -4210,6 +4210,9 @@ const struct sysfs_ops *scst_sysfs_get_sysfs_ops(void);
|
||||
struct sysfs_ops *scst_sysfs_get_sysfs_ops(void);
|
||||
#endif
|
||||
|
||||
void scst_kobject_put_and_wait(struct kobject *kobj, const char *category,
|
||||
struct completion *c);
|
||||
|
||||
/*
|
||||
* Returns target driver's root sysfs kobject.
|
||||
* The driver can create own files/directories/links here.
|
||||
|
||||
Reference in New Issue
Block a user