commit | 96018fdacbfcaf6a0694d066b525f67c24025688 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Sun May 06 14:49:55 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon May 07 12:12:55 2007 -0700 |
tree | 074c841a3dfd3fbe5caecf152da58816f1fd54e9 | |
parent | f9a14399aea13830d8af6798a53207bb0a900945 [diff] |
mm: optimize acorn partition truncate invalidate_bdev() is superfluous when truncate_inode_pages() is also called. do call invalidate_bh_lrus() though, to avoid stale pointers. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>