diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/connect.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 5f2ec1946776..73ed9fcab821 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -1742,7 +1742,16 @@ void reset_cifs_unix_caps(int xid, struct cifsTconInfo *tcon, | |||
1742 | cFYI(1, ("very large write cap")); | 1742 | cFYI(1, ("very large write cap")); |
1743 | #endif /* CIFS_DEBUG2 */ | 1743 | #endif /* CIFS_DEBUG2 */ |
1744 | if (CIFSSMBSetFSUnixInfo(xid, tcon, cap)) { | 1744 | if (CIFSSMBSetFSUnixInfo(xid, tcon, cap)) { |
1745 | cFYI(1, ("setting capabilities failed")); | 1745 | if (vol_info == NULL) |
1746 | cFYI(1, ("resetting capabilities failed")); | ||
1747 | else | ||
1748 | cERROR(1, ("Negotiating Unix capabilities " | ||
1749 | "with the server failed. Consider " | ||
1750 | "mounting with the Unix Extensions\n" | ||
1751 | "disabled, if problems are found, " | ||
1752 | "by specifying the nounix mount " | ||
1753 | "option."); | ||
1754 | |||
1746 | } | 1755 | } |
1747 | } | 1756 | } |
1748 | } | 1757 | } |