commit | 92c76dc036e2139226e90851864d3e01e1db5dd8 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Fri Dec 13 15:28:57 2013 +0200 |
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Dec 31 20:31:58 2013 +0200 |
tree | 42144ae75306581bb4c748c43cd09388c57c1b60 | |
parent | dd82fff1e8e7b486887dd88981776bb44e370848 [diff] |
rbd: wire up is_visible() sysfs callback for rbd bus In preparation for single-major device number allocation scheme, wire up attribute_group::is_visible() callback for rbd bus. This allows us to make the new single-major attributes conditional. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>