On Sunday March 12, [email protected] wrote:
> Did a quick scan - some minor corrections in text.
Thanks. The following patch incorporated most of them.
I didn't fix the indenting oddity that you noticed. The file is
wildly inconsistent in its uses of tabs or spaces for indenting. That
should be fixed up in a separate patch.
Thanks.
-----------------
Corrections to recent updates for vfs.txt
Thanks Avishay Traeger <[email protected]>
Cc: Avishay Traeger <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
### Diffstat output
./Documentation/filesystems/vfs.txt | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff ./Documentation/filesystems/vfs.txt~current~ ./Documentation/filesystems/vfs.txt
--- ./Documentation/filesystems/vfs.txt~current~ 2006-03-13 10:58:13.000000000 +1100
+++ ./Documentation/filesystems/vfs.txt 2006-03-13 15:09:24.000000000 +1100
@@ -236,8 +236,9 @@ or bottom half).
contains a 'struct inode' embedded within it.
destroy_inode: this method is called by destroy_inode() to release
- resources allocated for struct inode. It is only required of
- ->alloc_inode was defined and simply does a deallocate.
+ resources allocated for struct inode. It is only required if
+ ->alloc_inode was defined and simply undoes anything done by
+ ->alloc_inode.
read_inode: this method is called to read a specific inode from the
mounted filesystem. The i_ino member in the struct inode is
@@ -550,7 +551,7 @@ struct address_space_operations {
wbc->sync_mode.
The PG_Dirty flag has been cleared and PageLocked is true.
writepage should start writeout, should set PG_Writeback,
- and should make sure the page is Unlocked, either synchronously
+ and should make sure the page is unlocked, either synchronously
or asynchronously when the write operation completes.
If wbc->sync_mode is WB_SYNC_NONE, ->writepage doesn't have to
@@ -572,8 +573,8 @@ struct address_space_operations {
sync_page: called by the VM to notify the backing store to perform all
queued I/O operations for a page. I/O operations for other pages
- associated with this address_space object may also be
- performed.
+ associated with this address_space object may also be performed.
+
This function is optional and is called only for pages with
PG_Writeback set while waiting for the writeback to complete.
@@ -595,7 +596,7 @@ struct address_space_operations {
PAGECACHE_TAG_DIRTY tag in the radix tree.
readpages: called by the VM to read pages associated with the address_space
- object. This is essentailly just a vector version of
+ object. This is essentially just a vector version of
readpage. Instead of just one page, several pages are
requested.
readpages is only used for readahead, so read errors are
@@ -606,10 +607,10 @@ struct address_space_operations {
the given range of bytes are about to be written. The
address_space should check that the write will be able to
complete, by allocating space if necessary and doing any other
- internal house keeping. If the write will update parts some
- some basic-blocks on storage, then those blocks should be
+ internal house keeping. If the write will update parts of
+ any basic-blocks on storage, then those blocks should be
pre-read (if they haven't been read already) so that the
- update will not leave half-blocks that need to be written out.
+ updated blocks can be written out properly.
The page will be locked. If prepare_write wants to unlock the
page it, like readpage, may do so and return
AOP_TRUNCATED_PAGE.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]