mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
fs/ntfs3: Place Comparisons constant right side of the test
For better code readability place constant always right side of the test. This will also address checkpatch warning. Signed-off-by: Kari Argillander <kari.argillander@gmail.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
7d95995ab4
commit
4ca7fe57f2
@ -1603,7 +1603,7 @@ struct ATTR_FILE_NAME *ni_fname_type(struct ntfs_inode *ni, u8 name_type,
|
||||
|
||||
*le = NULL;
|
||||
|
||||
if (FILE_NAME_POSIX == name_type)
|
||||
if (name_type == FILE_NAME_POSIX)
|
||||
return NULL;
|
||||
|
||||
/* Enumerate all names. */
|
||||
|
Loading…
Reference in New Issue
Block a user