]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfs make use of str_false_true helper
authorHongbo Li <lihongbo22@huawei.com>
Tue, 27 Aug 2024 02:45:17 +0000 (10:45 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:43:42 +0000 (20:43 -0700)
commit093ebfbbf3ba2002f7242b5c17a1845917f09cb5
tree198a9d025481c0d0431f1b4d1029533d68597363
parent01b58b1763b36d5597c9fbd6951d7e0386eebfb0
nfs make use of str_false_true helper

The helper str_false_true() was introduced to return "false/true" string
literal.  We can simplify this format by str_false_true.

Link: https://lkml.kernel.org/r/20240827024517.914100-4-lihongbo22@huawei.com
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Cc: Andy Shevchenko <andy@kernel.org>
Cc: Anna Schumaker <anna@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Kees Cook <kees@kernel.org>
Cc: Trond Myklebust <trondmy@kernel.org>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nfs/nfs4xdr.c