[linux-cifs-client] POSIX open vs. NTCreateX (CIFSSMBOpen)

Steve French smfrench at gmail.com
Fri Feb 20 18:19:42 GMT 2009


There are 12 calls to CIFSSMBOpen (NTCreateX SMB) in the cifs client.
 The cifs_create path now invokes the relatively new POSIX open/create
function (as does cifs mkdir), of the remaining 11 calls:

a) 2 calls in ACL code and the 1 in getxattr code probably don't have
to be converted
b) 1 in mknod does not need to be converted (we use a posix
setpathinfo for this and so don't need the posix open/create)
c) 1 in querying reparse points does not need to be converted
d) 3 of the 4 cases in inode.c (rename delete pending, set_file_info,
and do_rename) could be converted but probably don't matter
e) cifs_open and cifs_reopen_file do need to be converted still
(working on that)

-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list