]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: do_sync_mapping_range integrity fix
authorNick Piggin <npiggin@suse.de>
Tue, 6 Jan 2009 22:39:12 +0000 (14:39 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 25 Jan 2009 00:36:28 +0000 (16:36 -0800)
commitebf8d00d3ffadbba82ea19f9c6e273c8fb09c8a8
treed514518d860cfca4fb3589aac85348b4a6e173ee
parent7cef443310ed7e6317b19b94628c968aa210ce17
mm: do_sync_mapping_range integrity fix

commit ee53a891f47444c53318b98dac947ede963db400 upstream.

Chris Mason notices do_sync_mapping_range didn't actually ask for data
integrity writeout.  Unfortunately, it is advertised as being usable for
data integrity operations.

This is a data integrity bug.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sync.c