mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
[CIFS] statfs for cifs unix extensions no longer experimental
Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
6b70c9559b
commit
b8c06a2ab6
@ -189,7 +189,6 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
|
||||
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) && (CIFS_POSIX_EXTENSIONS &
|
||||
@ -199,7 +198,6 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
|
||||
/* Only need to call the old QFSInfo if failed
|
||||
on newer one */
|
||||
if(rc)
|
||||
#endif /* CIFS_EXPERIMENTAL */
|
||||
rc = CIFSSMBQFSInfo(xid, pTcon, buf);
|
||||
|
||||
/* Old Windows servers do not support level 103, retry with level
|
||||
|
Loading…
Reference in New Issue
Block a user