lkml.org 
[lkml]   [2010]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] vfs: pass struct file to do_truncate on O_TRUNC opens
On Mon, Mar 15, 2010 at 06:47:02PM -0400, Jeff Layton wrote:

> Yeah that would be cleaner on the wire for the create case. It's not
> clear to me how to implement that though. There doesn't appear to be
> a straightforward way to tell the VFS to skip the truncate.

The plan is to turn most of the guts of do_last() into fs method...


\
 
 \ /
  Last update: 2010-03-15 23:53    [W:0.032 / U:4.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site