[PATCH] truncate: dirty memory accounting fix
authorAndrew Morton <akpm@osdl.org>
Fri, 22 Dec 2006 09:04:48 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:45 +0000 (08:55 -0800)
commit5f2a105d5e33a038a717995d2738434f9c25aed2
tree4d72272dfaa5eb00f96ff895ca72bdfd97fa4bdc
parentbb4067e34159648d394943d5e2a011f838bff22f
[PATCH] truncate: dirty memory accounting fix

Only (un)account for IO and page-dirtying for devices which have real backing
store (ie: not tmpfs or ramdisks).

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/truncate.c