Re: last_index variable in btrfs_buffered_write function

2011-07-12 Thread Chris Mason
Excerpts from Mitch Harder's message of 2011-07-11 15:38:45 -0400: 2011/7/11 João Eduardo Luís jecl...@gmail.com: Hello. Am I reading the code the wrong way, or is the 'last_index' variable in '__btrfs_buffered_write()' (and previously used in 'btrfs_file_aio_write()') irrelevant?

Re: last_index variable in btrfs_buffered_write function

2011-07-12 Thread Mitch Harder
2011/7/12 Chris Mason chris.ma...@oracle.com: Excerpts from Mitch Harder's message of 2011-07-11 15:38:45 -0400: 2011/7/11 João Eduardo Luís jecl...@gmail.com: Hello. Am I reading the code the wrong way, or is the 'last_index' variable in '__btrfs_buffered_write()' (and previously used

last_index variable in btrfs_buffered_write function

2011-07-11 Thread João Eduardo Luís
Hello. Am I reading the code the wrong way, or is the 'last_index' variable in '__btrfs_buffered_write()' (and previously used in 'btrfs_file_aio_write()') irrelevant? It appears to just be used in 'prepare_pages()', passed as an argument, but never actually used by this function.

Re: last_index variable in btrfs_buffered_write function

2011-07-11 Thread Mitch Harder
2011/7/11 João Eduardo Luís jecl...@gmail.com: Hello. Am I reading the code the wrong way, or is the 'last_index' variable in '__btrfs_buffered_write()' (and previously used in 'btrfs_file_aio_write()') irrelevant? It appears to just be used in 'prepare_pages()', passed as an argument,