block: Do away with the notion of hardsect_size
[deliverable/linux.git] / fs / udf / super.c
index 72348cc855a45dd25126aaba8557772e0d4b491d..0ba44107d8f109af092106d6663e0a06df9de219 100644 (file)
@@ -1915,7 +1915,7 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent)
        if (uopt.flags & (1 << UDF_FLAG_BLOCKSIZE_SET)) {
                ret = udf_load_vrs(sb, &uopt, silent, &fileset);
        } else {
-               uopt.blocksize = bdev_hardsect_size(sb->s_bdev);
+               uopt.blocksize = bdev_logical_block_size(sb->s_bdev);
                ret = udf_load_vrs(sb, &uopt, silent, &fileset);
                if (!ret && uopt.blocksize != UDF_DEFAULT_BLOCKSIZE) {
                        if (!silent)
This page took 0.038384 seconds and 5 git commands to generate.