浏览代码

[CIFS] statfs for cifs unix extensions no longer experimental

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 18 年之前
父节点
当前提交
b8c06a2ab6
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fs/cifs/cifsfs.c

+ 0 - 2
fs/cifs/cifsfs.c

@@ -189,7 +189,6 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
 	buf->f_files = 0;	/* undefined */
 	buf->f_files = 0;	/* undefined */
 	buf->f_ffree = 0;	/* unlimited */
 	buf->f_ffree = 0;	/* unlimited */
 
 
-#ifdef CONFIG_CIFS_EXPERIMENTAL
 /* BB we could add a second check for a QFS Unix capability bit */
 /* BB we could add a second check for a QFS Unix capability bit */
 /* BB FIXME check CIFS_POSIX_EXTENSIONS Unix cap first FIXME BB */
 /* BB FIXME check CIFS_POSIX_EXTENSIONS Unix cap first FIXME BB */
     if ((pTcon->ses->capabilities & CAP_UNIX) && (CIFS_POSIX_EXTENSIONS &
     if ((pTcon->ses->capabilities & CAP_UNIX) && (CIFS_POSIX_EXTENSIONS &
@@ -199,7 +198,6 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
     /* Only need to call the old QFSInfo if failed
     /* Only need to call the old QFSInfo if failed
     on newer one */
     on newer one */
     if(rc)
     if(rc)
-#endif /* CIFS_EXPERIMENTAL */
 	rc = CIFSSMBQFSInfo(xid, pTcon, buf);
 	rc = CIFSSMBQFSInfo(xid, pTcon, buf);
 
 
 	/* Old Windows servers do not support level 103, retry with level 
 	/* Old Windows servers do not support level 103, retry with level