From: Catalin Marinas <catalin.marinas@arm.com>
To: mpm@selenic.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.15] do_truncate() call fix in tiny-shmem.c
Date: Wed, 11 Jan 2006 12:54:18 +0000 [thread overview]
Message-ID: <20060111125418.13276.29099.stgit@localhost.localdomain> (raw)
From: Catalin Marinas <catalin.marinas@arm.com>
This is a simple patch to adapt tiny-shmem.c to the new do_truncate()
prototype.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
---
mm/tiny-shmem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c
index cdc6d43..f9d6a9c 100644
--- a/mm/tiny-shmem.c
+++ b/mm/tiny-shmem.c
@@ -90,7 +90,7 @@ struct file *shmem_file_setup(char *name
file->f_mode = FMODE_WRITE | FMODE_READ;
/* notify everyone as to the change of file size */
- error = do_truncate(dentry, size, file);
+ error = do_truncate(dentry, size, 0, file);
if (error < 0)
goto close_file;
next reply other threads:[~2006-01-11 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-11 12:54 Catalin Marinas [this message]
2006-01-12 6:11 ` Matt Mackall
2006-01-12 6:47 ` Hugh Dickins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060111125418.13276.29099.stgit@localhost.localdomain \
--to=catalin.marinas@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®