commit | 4a0a88b6660b48f773b6e7631e0be57b7f5048ed | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Mon Dec 09 11:10:06 2019 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jan 20 20:12:41 2020 -0500 |
tree | e67920a71d2369ac672fcbf8fcd6981bc4689d8f | |
parent | f6075c79074378910e131bbebc9d1dab53fd9986 [diff] |
fs/adfs: dir: improve compiler coverage in adfs_dir_update Get rid of the ifdef, using IS_ENABLED() instead to detect whether the code should be callable. This allows the compiler to always parse the following code, reducing the chances of errors being missed. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>