]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/cifs/misc.c
cifs: add function to get a tcon from cifs_sb
[mv-sheeva.git] / fs / cifs / misc.c
index 3ccadc1326d613171e92a8bd59bf48d02c12ffc2..c5cbfdb2a58baf20eea0c14ea77c73c01747152d 100644 (file)
@@ -729,6 +729,6 @@ cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb)
                           "properly. Hardlinks will not be recognized on this "
                           "mount. Consider mounting with the \"noserverino\" "
                           "option to silence this message.",
-                          cifs_sb->tcon->treeName);
+                          cifs_sb_tcon(cifs_sb)->treeName);
        }
 }