Commit 4947a1a3 authored by Steve French's avatar Steve French Committed by Steve French

Fix statfs failure due to invalid value for ffree

parent bd792b17
Version 0.81
------------
Finish up CIFS packet digital signing for the default
NTLM security case.
NTLM security case. This should help Windows 2003
network interoperability since it is common for
packet signing to be required now. Fix statfs (stat -f)
which recently started returning errors due to
invalid value (-1 instead of 0) being set in the
struct kstatfs f_ffiles field.
Version 0.80
-----------
......
......@@ -165,7 +165,7 @@ cifs_statfs(struct super_block *sb, struct kstatfs *buf)
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 = -1; /* unlimited */
buf->f_ffree = 0; /* unlimited */
rc = CIFSSMBQFSInfo(xid, pTcon, buf, cifs_sb->local_nls);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment