diff options
| author | Steve French <stevef@stevef95.austin.ibm.com> | 2005-03-11 05:31:12 -0600 |
|---|---|---|
| committer | Steve French <cifs.adm@bkbits.net> | 2005-03-11 05:31:12 -0600 |
| commit | eed7bb1bb8a8e4f5bb24292b98f8535925701b03 (patch) | |
| tree | 30a5b4cf0d35f1457c4598bbe25a1d1a645be1e4 | |
| parent | 0684ae4af87608010fcfe86ceb8e205b75aa9580 (diff) | |
[CIFS] fix when CONFIG_CIFS_EXPERIMENTAL is on and server does not support Unix extensions to call the legacy qfsinfo
Signed-off-by: Steve French (sfrench@us.ibm.com)
| -rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index dec4d9149d35..3278df69792e 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -170,7 +170,7 @@ cifs_put_super(struct super_block *sb) static int cifs_statfs(struct super_block *sb, struct kstatfs *buf) { - int xid, rc = 0; + int xid, rc = -EOPNOTSUPP; struct cifs_sb_info *cifs_sb; struct cifsTconInfo *pTcon; |
