commit | 27e5041a87e8af2d0b6452dffe053d0253e914cc | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Mon May 04 19:43:41 2020 -0700 |
committer | Kees Cook <keescook@chromium.org> | Sat May 30 10:33:46 2020 -0700 |
tree | 4459a9c30b757756971ffcf26e68f2ccdee6c722 | |
parent | 7a0ad546847a23f92f5e227fa8e4578eaa3a8d0a [diff] |
pstore: Add locking around superblock changes Nothing was protecting changes to the pstorefs superblock. Add locking and refactor away is_pstore_mounted(), instead using a helper to add a way to safely lock the pstorefs root inode during filesystem changes. Link: https://lore.kernel.org/lkml/20200506152114.50375-9-keescook@chromium.org/ Signed-off-by: Kees Cook <keescook@chromium.org>