summaryrefslogtreecommitdiff
path: root/fs/fhandle.c
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-07-14 10:56:56 +0800
committerDave Kleikamp <dave.kleikamp@oracle.com>2022-10-18 08:50:26 -0500
commit73c6da327ff17a07a9260b0ff1f36e13665ac63d (patch)
treef76934495c30b99ca2a94685e1ad884228ce4593 /fs/fhandle.c
parent898f706695682b9954f280d95e49fa86ffa55d08 (diff)
fs/jfs: replace ternary operator with min_t()
Fix the following coccicheck warning: fs/jfs/super.c:748: WARNING opportunity for min(). fs/jfs/super.c:788: WARNING opportunity for min(). min_t() macro is defined in include/linux/minmax.h. It avoids multiple evaluations of the arguments when non-constant and performs strict type-checking. Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions