> + /*
> + * If inode is BLK and it is not already mounted,
> + * blocksize change hardsect_size.
> + */
> + if (S_ISBLK(inode->i_mode) && !is_mounted(inode->i_rdev)) {
That's obviously wrong. What's to stop it from getting mounted
right after that check?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/