diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-22 19:25:39 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 09:14:06 +0100 |
commit | 2ccdc413196b43a02bb68b46be5b68850904e9ea (patch) | |
tree | f7405674f1706ebad378533c1386c021d198fe11 /fs/reiserfs/procfs.c | |
parent | afs: get rid of junk in fs/afs/proc.c (diff) | |
download | linux-2ccdc413196b43a02bb68b46be5b68850904e9ea.tar.xz linux-2ccdc413196b43a02bb68b46be5b68850904e9ea.zip |
kill reiserfs_bdevname()
it's never called with NULL argument...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/reiserfs/procfs.c')
-rw-r--r-- | fs/reiserfs/procfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/procfs.c b/fs/reiserfs/procfs.c index a958444a75fc..02b0b7d0f7d5 100644 --- a/fs/reiserfs/procfs.c +++ b/fs/reiserfs/procfs.c @@ -419,7 +419,7 @@ int reiserfs_proc_info_init(struct super_block *sb) 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 @@ int reiserfs_proc_info_done(struct super_block *sb) 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 = '!'; |