[PATCH] do_truncate() call fix in tiny-shmem.c

Adapt tiny-shmem.c to the new do_truncate() prototype.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Catalin Marinas and committed by Linus Torvalds 2a7e2f7d f4598c8b

+1 -1
+1 -1
mm/tiny-shmem.c
··· 90 90 file->f_mode = FMODE_WRITE | FMODE_READ; 91 91 92 92 /* notify everyone as to the change of file size */ 93 - error = do_truncate(dentry, size, file); 93 + error = do_truncate(dentry, size, 0, file); 94 94 if (error < 0) 95 95 goto close_file; 96 96