buf->f_namelen = PATH_MAX;	/* PATH_MAX may be too long - it would presumably be length of total path, note that some servers may be able to support more than this, but best to be safe since Win2k and others can not handle very long filenames */ 
buf->f_namelen = PATH_MAX; /* PATH_MAX may be too long - it would presumably be total path, but note that some servers (includinng Samba 3) have a shorter maximum path */ 
cifs_statfs(struct super_block *sb, struct kstatfs *buf){	int xid, rc = -EOPNOTSUPP;	struct cifs_sb_info *cifs_sb;	struct cifsTconInfo *pTcon;	xid = GetXid();	cifs_sb = CIFS_SB(sb);	pTcon = cifs_sb->tcon;	buf->f_type = CIFS_MAGIC_NUMBER;	/* instead could get the real value via SMB_QUERY_FS_ATTRIBUTE_INFO */	buf->f_namelen = PATH_MAX;	/* PATH_MAX may be too long - it would presumably					   be length of total path, note that some servers may be 					   able to support more than this, but best to be safe					   since Win2k and others can not handle very long filenames */	buf->f_files = 0;	/* undefined */	buf->f_ffree = 0;	/* unlimited */#ifdef CONFIG_CIFS_EXPERIMENTAL/* BB we could add a second check for a QFS Unix capability bit *//* BB FIXME check CIFS_POSIX_EXTENSIONS Unix cap first FIXME BB */    if (pTcon->ses->capabilities & CAP_UNIX)	    rc = CIFSSMBQFSPosixInfo(xid, pTcon, buf);    /* Only need to call the old QFSInfo if failed    on newer one */    if(rc)#endif /* CIFS_EXPERIMENTAL */	rc = CIFSSMBQFSInfo(xid, pTcon, buf);	/*     	   int f_type;	   __fsid_t f_fsid;	   int f_namelen;  */	/* BB get from info put in tcon struct at mount time with call to QFSAttrInfo */	FreeXid(xid);	return 0;		/* always return success? what if volume is no longer available? */}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c81156dd217818c143a09b6a744e797a04571e99/cifsfs.c/clean/fs/cifs/cifsfs.c