Commit e917a84
nvme-pci: refresh visible attrs for cmb attributes
The sysfs group containing the cmb attributes is registered before the
driver knows if they need to be visible or not. Update the group when
cmb attributes are known to exist so the visibility setting is correct.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217037
Fixes: 86adbf0 ("nvme: simplify transport specific device attribute handling")
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>1 parent 9a28b92 commit e917a84
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
1923 | 1924 | | |
1924 | 1925 | | |
1925 | 1926 | | |
| 1927 | + | |
| 1928 | + | |
1926 | 1929 | | |
1927 | 1930 | | |
1928 | 1931 | | |
| |||
2209 | 2212 | | |
2210 | 2213 | | |
2211 | 2214 | | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
2212 | 2220 | | |
2213 | 2221 | | |
2214 | 2222 | | |
| |||
0 commit comments