Seagate / propeller

Customized lvmlockd
GNU General Public License v2.0
4 stars 7 forks source link

Feature/foss 542 udev flooding fix #194

Closed scott-howe-1 closed 1 year ago

scott-howe-1 commented 1 year ago

The major flooding issue was solved with a minor fix.
The original intent of using open() on the block path was just to make sure that the drive was present. Unfortunately, I didn't realize that this action was generating a new udev event. Replacing the open() with a basic stat() check for folder presence.