Nick Piggin 22c8ca78f2 [PATCH] fs: fix nobh data leak
nobh_prepare_write leaks data similarly to how simple_prepare_write did. Fix
by not marking the page uptodate until nobh_commit_write time. Again, this
could break weird use-cases, but none appear to exist in the tree.

We can safely remove the set_page_dirty, because as the comment says,
nobh_commit_write does set_page_dirty. If a filesystem wants to allocate
backing store for a page dirtied via mmap, page_mkwrite is the suggested
approach.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-20 17:10:15 -08:00
..
2007-02-17 19:23:03 +01:00
2007-02-16 15:30:10 -08:00
2007-02-20 17:10:13 -08:00
2006-10-04 06:51:26 -06:00
2007-02-20 17:10:15 -08:00
2006-12-07 08:39:25 -08:00
2007-02-17 16:10:59 -05:00
2007-02-20 17:10:15 -08:00
2006-12-07 08:39:25 -08:00
2007-02-17 21:30:15 -05:00
2006-10-01 00:39:19 -07:00
2006-12-13 09:05:47 -08:00