Commit 42197830 authored by Linus Torvalds's avatar Linus Torvalds

jdev/s_dev are now regular dev_t's, compare them as such.

parent 5325aa3d
...@@ -1966,7 +1966,7 @@ static int journal_init_dev( struct super_block *super, ...@@ -1966,7 +1966,7 @@ static int journal_init_dev( struct super_block *super,
printk( "sh-458: journal_init_dev: cannot init journal device\n '%s': %i", printk( "sh-458: journal_init_dev: cannot init journal device\n '%s': %i",
kdevname( to_kdev_t(jdev) ), result ); kdevname( to_kdev_t(jdev) ), result );
else if (!kdev_same(jdev, super->s_dev)) { else if (jdev != super->s_dev) {
set_blocksize(journal->j_dev_bd, super->s_blocksize); set_blocksize(journal->j_dev_bd, super->s_blocksize);
} }
return result; return result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment