--- zzzz-none-000/linux-3.10.107/fs/reiserfs/procfs.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/fs/reiserfs/procfs.c 2021-02-04 17:41:59.000000000 +0000 @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include "reiserfs.h" #include #include @@ -392,7 +392,7 @@ static int r_open(struct inode *inode, struct file *file) { - return single_open(file, PDE_DATA(inode), + return single_open(file, PDE_DATA(inode), proc_get_parent_data(inode)); } @@ -419,7 +419,7 @@ char *s; /* Some block devices use /'s */ - strlcpy(b, reiserfs_bdevname(sb), BDEVNAME_SIZE); + strlcpy(b, sb->s_id, BDEVNAME_SIZE); s = strchr(b, '/'); if (s) *s = '!'; @@ -449,7 +449,7 @@ char *s; /* Some block devices use /'s */ - strlcpy(b, reiserfs_bdevname(sb), BDEVNAME_SIZE); + strlcpy(b, sb->s_id, BDEVNAME_SIZE); s = strchr(b, '/'); if (s) *s = '!';