We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f4d9d commit ed5edd5Copy full SHA for ed5edd5
security/loadpin/loadpin.c
@@ -78,11 +78,8 @@ static void check_pinning_enforcement(struct super_block *mnt_sb)
78
* device, allow sysctl to change modes for testing.
79
*/
80
if (mnt_sb->s_bdev) {
81
- char bdev[BDEVNAME_SIZE];
82
-
83
ro = bdev_read_only(mnt_sb->s_bdev);
84
- bdevname(mnt_sb->s_bdev, bdev);
85
- pr_info("%s (%u:%u): %s\n", bdev,
+ pr_info("%pg (%u:%u): %s\n", mnt_sb->s_bdev,
86
MAJOR(mnt_sb->s_bdev->bd_dev),
87
MINOR(mnt_sb->s_bdev->bd_dev),
88
ro ? "read-only" : "writable");
0 commit comments