From 0beb9da4cc981f2b7ee3535fe1ffea1c5d37df67 Mon Sep 17 00:00:00 2001 From: Steve French Date: Thu, 20 Sep 2007 15:16:24 +0000 Subject: [PATCH] --- yaml --- r: 71555 b: refs/heads/master c: 5a44b3190e3441986648ff664ef045685995324b h: refs/heads/master i: 71553: 3ac82b3c8888c7703d1f8aea88a749a4a66e48fe 71551: 115b91ab7712573882a0a4497f6f27e0aa0bb39e v: v3 --- [refs] | 2 +- trunk/fs/cifs/connect.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b584ac28436a..710ec3fd3013 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c45d707f67b82236fcf9ca2af31c264669368b9b +refs/heads/master: 5a44b3190e3441986648ff664ef045685995324b diff --git a/trunk/fs/cifs/connect.c b/trunk/fs/cifs/connect.c index 5f2ec1946776..73ed9fcab821 100644 --- a/trunk/fs/cifs/connect.c +++ b/trunk/fs/cifs/connect.c @@ -1742,7 +1742,16 @@ void reset_cifs_unix_caps(int xid, struct cifsTconInfo *tcon, cFYI(1, ("very large write cap")); #endif /* CIFS_DEBUG2 */ if (CIFSSMBSetFSUnixInfo(xid, tcon, cap)) { - cFYI(1, ("setting capabilities failed")); + if (vol_info == NULL) + cFYI(1, ("resetting capabilities failed")); + else + cERROR(1, ("Negotiating Unix capabilities " + "with the server failed. Consider " + "mounting with the Unix Extensions\n" + "disabled, if problems are found, " + "by specifying the nounix mount " + "option."); + } } }