[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <51F54840.3020407@gmail.com>
Date: Sun, 28 Jul 2013 18:35:12 +0200
From: Marco Stornelli <marco.stornelli@...il.com>
To: Al Viro <viro@...IV.linux.org.uk>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Linux FS Devel <linux-fsdevel@...r.kernel.org>
Subject: O_TMPFILE problem
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists