The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Christoph Hellwig a782483cc1 block: remove the nr_sects field in struct hd_struct
Now that the hd_struct always has a block device attached to it, there is
no need for having two size field that just get out of sync.

Additionally the field in hd_struct did not use proper serialization,
possibly allowing for torn writes.  By only using the block_device field
this problem also gets fixed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Coly Li <colyli@suse.de>			[bcache]
Acked-by: Chao Yu <yuchao0@huawei.com>			[f2fs]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-12-01 14:53:40 -07:00
Documentation
LICENSES
arch Fixes for ARM and x86, the latter especially for old processors 2020-11-15 09:57:58 -08:00
block block: remove the nr_sects field in struct hd_struct 2020-12-01 14:53:40 -07:00
certs
crypto
drivers block: remove the nr_sects field in struct hd_struct 2020-12-01 14:53:40 -07:00
fs block: remove the nr_sects field in struct hd_struct 2020-12-01 14:53:40 -07:00
include block: remove the nr_sects field in struct hd_struct 2020-12-01 14:53:40 -07:00
init init: cleanup match_dev_by_uuid and match_dev_by_label 2020-12-01 14:53:39 -07:00
ipc
kernel block: remove the nr_sects field in struct hd_struct 2020-12-01 14:53:40 -07:00
lib
mm filemap: consistently use ->f_mapping over ->i_mapping 2020-12-01 14:53:38 -07:00
net
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS USB/Thunderbolt fixes for 5.10-rc4 2020-11-15 10:02:41 -08:00
Makefile Linux 5.10-rc4 2020-11-15 16:44:31 -08:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.