From: viro@parcelfarce.linux.theplanet.co.uk
To: Charles Manning <manningc2@actrix.gen.nz>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: What calls setattr?
Date: Tue, 11 Nov 2003 01:57:33 +0000 [thread overview]
Message-ID: <20031111015733.GH7665@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20031111014458.1F5D84855@blood.actrix.co.nz>
On Tue, Nov 11, 2003 at 02:51:30PM +1300, Charles Manning wrote:
> I'm trying to test a change to setattr in YAFFS. In particular, I'm trying to
> test the use of ATTR_SIZE when the size of the file is reduced
>
> I can't find the process-space system call that causes this to be called.(eg.
> file is 2kB and I want to cut it back to 1kB).
>
> Help me plz.
man truncate
(plus a bunch of related syscalls, plus truncation-to-zero when you do
open() with O_TRUNC, plus nfsd handling corresponding requests...)
prev parent reply other threads:[~2003-11-11 1:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-31 13:20 [PATCH] Intermezzo should call vfs_permission Matthew Wilcox
2003-11-11 1:51 ` What calls setattr? Charles Manning
2003-11-11 1:57 ` viro [this message]
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=20031111015733.GH7665@parcelfarce.linux.theplanet.co.uk \
--to=viro@parcelfarce.linux.theplanet.co.uk \
--cc=linux-fsdevel@vger.kernel.org \
--cc=manningc2@actrix.gen.nz \
/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