struct dir_notify_req *dnotify_req; 
int CIFSSMBNotify(const int xid, struct cifsTconInfo *tcon, 			const int notify_subdirs, const __u16 netfid,			__u32 filter, const struct nls_table *nls_codepage){	int rc = 0;	struct smb_com_transaction_change_notify_req * pSMB = NULL;	struct smb_com_transaction_change_notify_rsp * pSMBr = NULL;	int bytes_returned;	cFYI(1, ("In CIFSSMBNotify for file handle %d",(int)netfid));	rc = smb_init(SMB_COM_NT_TRANSACT, 23, tcon, (void **) &pSMB,                      (void **) &pSMBr);	if (rc)		return rc;	pSMB->TotalParameterCount = 0 ;	pSMB->TotalDataCount = 0;	pSMB->MaxParameterCount = cpu_to_le32(2);	/* BB find exact data count max from sess structure BB */	pSMB->MaxDataCount = 0; /* same in little endian or be */	pSMB->MaxSetupCount = 4;	pSMB->Reserved = 0;	pSMB->ParameterOffset = 0;	pSMB->DataCount = 0;	pSMB->DataOffset = 0;	pSMB->SetupCount = 4; /* single byte does not need le conversion */	pSMB->SubCommand = cpu_to_le16(NT_TRANSACT_NOTIFY_CHANGE);	pSMB->ParameterCount = pSMB->TotalParameterCount;	if(notify_subdirs)		pSMB->WatchTree = 1; /* one byte - no le conversion needed */	pSMB->Reserved2 = 0;	pSMB->CompletionFilter = cpu_to_le32(filter);	pSMB->Fid = netfid; /* file handle always le */	pSMB->ByteCount = 0;	rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,			(struct smb_hdr *) pSMBr, &bytes_returned, -1);	if (rc) {		cFYI(1, ("Error in Notify = %d", rc));	} else {		/* Add file to outstanding requests */		dnotify_req = (struct dir_notify_req *) kmalloc(						sizeof(struct dir_notify_req), GFP_KERNEL);		dnotify_req->Pid = pSMB->hdr.Pid;		dnotify_req->PidHigh = pSMB->hdr.PidHigh;		dnotify_req->Mid = pSMB->hdr.Mid;		dnotify_req->Tid = pSMB->hdr.Tid;		dnotify_req->Uid = pSMB->hdr.Uid;		dnotify_req->netfid = netfid;		dnotify_req->dentry = dentry;		dnotify_req->filter = filter;		dnotify_req->multishot = multishot;		spin_lock(&GlobalMid_Lock);		list_add_tail(&dnotify_req->lhead, &GlobalDnotifyReqList);		spin_unlock(&GlobalMid_Lock);	}	cifs_buf_release(pSMB);	return rc;	}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/abb15b8ae4eb7cdff0061e7ac5eca1f8dd8a84af/cifssmb.c/clean/fs/cifs/cifssmb.c