···10241024 module_put_and_exit(0);10251025}1026102610271027-/** Returns true if srcaddr isn't specified and rhs isn't10281028- * specified, or if srcaddr is specified and10291029- * matches the IP address of the rhs argument.10271027+/**10281028+ * Returns true if srcaddr isn't specified and rhs isn't specified, or10291029+ * if srcaddr is specified and matches the IP address of the rhs argument10301030 */10311031bool10321032cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs)···25442544void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon,25452545 struct cifs_sb_info *cifs_sb, struct smb3_fs_context *ctx)25462546{25472547- /* if we are reconnecting then should we check to see if25472547+ /*25482548+ * If we are reconnecting then should we check to see if25482549 * any requested capabilities changed locally e.g. via25492550 * remount but we can not do much about it here25502551 * if they have (even if we could detect it by the following)···25532552 * or if we change to make all sb to same share the same25542553 * sb as NFS - then we only have one backpointer to sb.25552554 * What if we wanted to mount the server share twice once with25562556- * and once without posixacls or posix paths? */25552555+ * and once without posixacls or posix paths?25562556+ */25572557 __u64 saved_cap = le64_to_cpu(tcon->fsUnixInfo.Capability);2558255825592559 if (ctx && ctx->no_linux_ext) {···25732571 if (!CIFSSMBQFSUnixInfo(xid, tcon)) {25742572 __u64 cap = le64_to_cpu(tcon->fsUnixInfo.Capability);25752573 cifs_dbg(FYI, "unix caps which server supports %lld\n", cap);25762576- /* check for reconnect case in which we do not25772577- want to change the mount behavior if we can avoid it */25742574+ /*25752575+ * check for reconnect case in which we do not25762576+ * want to change the mount behavior if we can avoid it25772577+ */25782578 if (ctx == NULL) {25792579- /* turn off POSIX ACL and PATHNAMES if not set25802580- originally at mount time */25792579+ /*25802580+ * turn off POSIX ACL and PATHNAMES if not set25812581+ * originally at mount time25822582+ */25812583 if ((saved_cap & CIFS_UNIX_POSIX_ACL_CAP) == 0)25822584 cap &= ~CIFS_UNIX_POSIX_ACL_CAP;25832585 if ((saved_cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) == 0) {···2982297629832977/**29842978 * expand_dfs_referral - Perform a dfs referral query and update the cifs_sb29852985- *29862979 *29872980 * If a referral is found, cifs_sb->ctx->mount_options will be (re-)allocated29882981 * to a string containing updated options for the submount. Otherwise it