Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cifs: minor kernel style fixes for comments

Trivial fix for a few comments which didn't follow kernel style

Signed-off-by: Steve French <stfrench@microsoft.com>

+15 -10
+15 -10
fs/cifs/connect.c
··· 1024 1024 module_put_and_exit(0); 1025 1025 } 1026 1026 1027 - /** Returns true if srcaddr isn't specified and rhs isn't 1028 - * specified, or if srcaddr is specified and 1029 - * matches the IP address of the rhs argument. 1027 + /** 1028 + * Returns true if srcaddr isn't specified and rhs isn't specified, or 1029 + * if srcaddr is specified and matches the IP address of the rhs argument 1030 1030 */ 1031 1031 bool 1032 1032 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) ··· 2544 2544 void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon, 2545 2545 struct cifs_sb_info *cifs_sb, struct smb3_fs_context *ctx) 2546 2546 { 2547 - /* if we are reconnecting then should we check to see if 2547 + /* 2548 + * If we are reconnecting then should we check to see if 2548 2549 * any requested capabilities changed locally e.g. via 2549 2550 * remount but we can not do much about it here 2550 2551 * if they have (even if we could detect it by the following) ··· 2553 2552 * or if we change to make all sb to same share the same 2554 2553 * sb as NFS - then we only have one backpointer to sb. 2555 2554 * What if we wanted to mount the server share twice once with 2556 - * and once without posixacls or posix paths? */ 2555 + * and once without posixacls or posix paths? 2556 + */ 2557 2557 __u64 saved_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); 2558 2558 2559 2559 if (ctx && ctx->no_linux_ext) { ··· 2573 2571 if (!CIFSSMBQFSUnixInfo(xid, tcon)) { 2574 2572 __u64 cap = le64_to_cpu(tcon->fsUnixInfo.Capability); 2575 2573 cifs_dbg(FYI, "unix caps which server supports %lld\n", cap); 2576 - /* check for reconnect case in which we do not 2577 - want to change the mount behavior if we can avoid it */ 2574 + /* 2575 + * check for reconnect case in which we do not 2576 + * want to change the mount behavior if we can avoid it 2577 + */ 2578 2578 if (ctx == NULL) { 2579 - /* turn off POSIX ACL and PATHNAMES if not set 2580 - originally at mount time */ 2579 + /* 2580 + * turn off POSIX ACL and PATHNAMES if not set 2581 + * originally at mount time 2582 + */ 2581 2583 if ((saved_cap & CIFS_UNIX_POSIX_ACL_CAP) == 0) 2582 2584 cap &= ~CIFS_UNIX_POSIX_ACL_CAP; 2583 2585 if ((saved_cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) == 0) { ··· 2982 2976 2983 2977 /** 2984 2978 * expand_dfs_referral - Perform a dfs referral query and update the cifs_sb 2985 - * 2986 2979 * 2987 2980 * If a referral is found, cifs_sb->ctx->mount_options will be (re-)allocated 2988 2981 * to a string containing updated options for the submount. Otherwise it