]> git.karo-electronics.de Git - karo-tx-linux.git/commit
writeback: fix comment, use helper function
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 17 Oct 2007 06:30:35 +0000 (23:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:02 +0000 (08:43 -0700)
commit1b43ef91d40190b16ba10218e66d5c2c4ba11de3
tree21d46e09ae07ae8a7ea0b0d9927b1dafb8787155
parentc986d1e2a460cbce79d631c51519ae82c778c6c5
writeback: fix comment, use helper function

There's a comment in there which claims that the inode is left on s_io
if nfs chickened out of writing some data.

But that's not been true for three years.
9290280ced13c85689adeffa587e9a53bd3a5873 fixed a livelock by moving these
inodes back onto s_dirty.  Fix the comment.

In the second leg of the `if', use redirty_tail() rather than open-coding it.

Add weaselly comment indicating lack of confidence in the code and lack of the
fortitude which would be needed to fiddle with it.

Cc: Mike Waychison <mikew@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fs-writeback.c