]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Adjust indentation in smb2_open_file
authorNathan Chancellor <natechancellor@gmail.com>
Wed, 18 Dec 2019 03:04:51 +0000 (20:04 -0700)
committerSteve French <stfrench@microsoft.com>
Mon, 23 Dec 2019 15:04:44 +0000 (09:04 -0600)
commitd5592f1b931a287b687ddb06b1df0b3f5188e9d4
treecaccd1feb782d8bdb0809b6e636a9b2a9a272f58
parent646cf7ee5f9780d038ddeb0aba0fbb1435cffff2
cifs: Adjust indentation in smb2_open_file

Clang warns:

../fs/cifs/smb2file.c:70:3: warning: misleading indentation; statement
is not part of the previous 'if' [-Wmisleading-indentation]
         if (oparms->tcon->use_resilient) {
         ^
../fs/cifs/smb2file.c:66:2: note: previous statement is here
        if (rc)
        ^
1 warning generated.

This warning occurs because there is a space after the tab on this line.
Remove it so that the indentation is consistent with the Linux kernel
coding style and clang no longer warns.

Fixes: b476a974e67a ("Add resilienthandles mount parm")
Link: https://github.com/ClangBuiltLinux/linux/issues/826
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2file.c