Commit a045ae2
scsi: lpfc: Convert debugfs directory counts from atomic to unsigned int
Atomicity is not necessary for debugfs directory accounting because
vport deletion and creation is already serialized. Creation has always
been serialized through sysfs. Deletion is serialized via walking the
lpfc_create_vport_work_array and calling fc_vport_terminate one-by-one
for each NPIV port.
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Closes: https://lore.kernel.org/linux-fsdevel/20250702212917.GK3406663@ZenIV/
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Message-ID: <20250915180811.137530-13-justintee8345@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 8221b34 commit a045ae2
2 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
1335 | | - | |
| 1335 | + | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5752 | 5752 | | |
5753 | 5753 | | |
5754 | 5754 | | |
5755 | | - | |
| 5755 | + | |
5756 | 5756 | | |
5757 | 5757 | | |
5758 | 5758 | | |
| |||
6074 | 6074 | | |
6075 | 6075 | | |
6076 | 6076 | | |
6077 | | - | |
| 6077 | + | |
6078 | 6078 | | |
6079 | 6079 | | |
6080 | 6080 | | |
| |||
6090 | 6090 | | |
6091 | 6091 | | |
6092 | 6092 | | |
6093 | | - | |
| 6093 | + | |
6094 | 6094 | | |
6095 | 6095 | | |
6096 | 6096 | | |
6097 | 6097 | | |
6098 | 6098 | | |
6099 | | - | |
| 6099 | + | |
6100 | 6100 | | |
6101 | 6101 | | |
6102 | 6102 | | |
| |||
6268 | 6268 | | |
6269 | 6269 | | |
6270 | 6270 | | |
6271 | | - | |
| 6271 | + | |
6272 | 6272 | | |
6273 | 6273 | | |
6274 | 6274 | | |
| |||
6402 | 6402 | | |
6403 | 6403 | | |
6404 | 6404 | | |
6405 | | - | |
| 6405 | + | |
6406 | 6406 | | |
6407 | 6407 | | |
6408 | | - | |
| 6408 | + | |
6409 | 6409 | | |
6410 | 6410 | | |
6411 | 6411 | | |
| |||
6415 | 6415 | | |
6416 | 6416 | | |
6417 | 6417 | | |
6418 | | - | |
| 6418 | + | |
6419 | 6419 | | |
6420 | 6420 | | |
6421 | | - | |
| 6421 | + | |
6422 | 6422 | | |
6423 | 6423 | | |
6424 | 6424 | | |
| |||
0 commit comments