lkml.org 
[lkml]   [2013]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectO_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


\
 
 \ /
  Last update: 2013-07-28 19:01    [W:0.031 / U:1.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site