lkml.org 
[lkml]   [2012]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 13/25] cifs: implement i_op->atomic_open() and i_op->atomic_create()
On Wed, Mar 07, 2012 at 10:22:30PM +0100, Miklos Szeredi wrote:
> From: Miklos Szeredi <mszeredi@suse.cz>
>
> Replace CIFS's ->create operation with ->atomic_open and ->atomic_create. Also
> move the relevant code from ->lookup into the create function.
>
> CIFS currently only does atomic open for O_CREAT, but it wants to do that as
> early as possible, without first calling ->lookup, so it uses ->atomic_open,
> just like NFS.

Why does cifs need to set the created flag from inside ->atomic_open?

It's different from everyone else in that respect.



\
 
 \ /
  Last update: 2012-03-13 13:09    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site