[linux-cifs-client] Re: POSIX client locking semantics.

Steven French sfrench at us.ibm.com
Thu Oct 20 15:41:21 GMT 2005

> Can you explain what you mean here ?
Sorry to be cryptic, I did not have source in front of me at the time but
wanted to remind people new to this topic about what was already defined.

#define CIFS_UNIX_FCNTL_CAP 0x00000001

is one of the bits that can be returned by the 64 bit capability flags on
QFSINFO FILE_SYSTEM_UNIX_INFO (It was defined in the original Unix
extensions spec).   Presumably the setfsinfo would set this.

For those who had not been following this thread ... in addition to the
capability bit, a year or so ago we reserved a FILEINFO/PATHINFO level for
GET/SET of posix locks (as level 0x208) and made a stab at defining a
CIFS_POSIX_LOCK structure.

Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com

More information about the samba-technical mailing list