From: Marco Stornelli <marco.stornelli@gmail.com>
To: Al Viro <viro@ZenIV.linux.org.uk>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Linux FS Devel <linux-fsdevel@vger.kernel.org>
Subject: O_TMPFILE problem
Date: Sun, 28 Jul 2013 18:35:12 +0200 [thread overview]
Message-ID: <51F54840.3020407@gmail.com> (raw)
Hi,
I'm doing a couple of test about O_TMPFILE on my fs. I can see that when
the file is closed the blocks allocated are not freed. It happens
because of i_mode, it isn't a regular file nor a directory nor a link. I
added S_IFREG in my implementation of tmpfile callback when I have to
call new_inode() and now it works, but am I missing something here?
Marco
next reply other threads:[~2013-07-28 16:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-28 16:35 Marco Stornelli [this message]
2013-07-29 13:22 ` O_TMPFILE problem Jan Kara
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=51F54840.3020407@gmail.com \
--to=marco.stornelli@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@ZenIV.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.