original_kernel/include/net/9p
Aneesh Kumar K.V 48e370ff93 fs/9p: add 9P2000.L unlinkat operation
unlinkat - Remove a directory entry

size[4] Tunlinkat tag[2] dirfid[4] name[s] flag[4]
size[4] Runlinkat tag[2]

older Tremove have the below request format

size[4] Tremove tag[2] fid[4]

The remove message is used to remove a directory entry either file or directory
The remove opreation is actually a directory opertation and should ideally have
dirfid, if not we cannot represent the fid on server with anything other than
name. We will have to derive the directory name from fid in the Tremove request.

NOTE: The operation doesn't clunk the unlink fid.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2011-07-23 09:32:52 -05:00
..
9p.h fs/9p: add 9P2000.L unlinkat operation 2011-07-23 09:32:52 -05:00
client.h fs/9p: add 9P2000.L unlinkat operation 2011-07-23 09:32:52 -05:00
transport.h fs/9p: Clean-up get_protocol_version() to use strcmp 2011-07-23 09:32:49 -05:00