Skip to content

Commit f534dc9

Browse files
Suresh JayaramanSteve French
authored andcommitted
cifs: clear server inode number flag while autodisabling
Fix the commit ec06aed that intended to turn off querying for server inode numbers when server doesn't consistently support inode numbers. Presumably the commit didn't actually clear the CIFS_MOUNT_SERVER_INUM flag, perhaps a typo. Signed-off-by: Suresh Jayaraman <[email protected]> Acked-by: Jeff Layton <[email protected]> Cc: Stable <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 799dd75 commit f534dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/cifs/misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ void
720720
cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb)
721721
{
722722
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) {
723-
cifs_sb->mnt_cifs_flags &= CIFS_MOUNT_SERVER_INUM;
723+
cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM;
724724
cERROR(1, ("Autodisabling the use of server inode numbers on "
725725
"%s. This server doesn't seem to support them "
726726
"properly. Hardlinks will not be recognized on this "

0 commit comments

Comments
 (0)