mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 14:34:13 -04: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:
committed by
Konstantin Komarov
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. */
|
||||
|
||||
Reference in New Issue
Block a user