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:
Vladislav Bolkhovitin
2013-10-31 04:44:52 +00:00
parent 7fb71c06b4
commit 2d874f7cb8
4 changed files with 40 additions and 113 deletions
+3
View File
@@ -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.