@@ -3447,7 +3447,7 @@ static int decode_attr_link_support(struct xdr_stream *xdr, uint32_t *bitmap, ui
3447
3447
* res = be32_to_cpup (p );
3448
3448
bitmap [0 ] &= ~FATTR4_WORD0_LINK_SUPPORT ;
3449
3449
}
3450
- dprintk ("%s: link support=%s\n" , __func__ , * res == 0 ? "false" : "true" );
3450
+ dprintk ("%s: link support=%s\n" , __func__ , str_false_true ( * res == 0 ) );
3451
3451
return 0 ;
3452
3452
}
3453
3453
@@ -3465,7 +3465,7 @@ static int decode_attr_symlink_support(struct xdr_stream *xdr, uint32_t *bitmap,
3465
3465
* res = be32_to_cpup (p );
3466
3466
bitmap [0 ] &= ~FATTR4_WORD0_SYMLINK_SUPPORT ;
3467
3467
}
3468
- dprintk ("%s: symlink support=%s\n" , __func__ , * res == 0 ? "false" : "true" );
3468
+ dprintk ("%s: symlink support=%s\n" , __func__ , str_false_true ( * res == 0 ) );
3469
3469
return 0 ;
3470
3470
}
3471
3471
@@ -3607,7 +3607,7 @@ static int decode_attr_case_insensitive(struct xdr_stream *xdr, uint32_t *bitmap
3607
3607
* res = be32_to_cpup (p );
3608
3608
bitmap [0 ] &= ~FATTR4_WORD0_CASE_INSENSITIVE ;
3609
3609
}
3610
- dprintk ("%s: case_insensitive=%s\n" , __func__ , * res == 0 ? "false" : "true" );
3610
+ dprintk ("%s: case_insensitive=%s\n" , __func__ , str_false_true ( * res == 0 ) );
3611
3611
return 0 ;
3612
3612
}
3613
3613
@@ -3625,7 +3625,7 @@ static int decode_attr_case_preserving(struct xdr_stream *xdr, uint32_t *bitmap,
3625
3625
* res = be32_to_cpup (p );
3626
3626
bitmap [0 ] &= ~FATTR4_WORD0_CASE_PRESERVING ;
3627
3627
}
3628
- dprintk ("%s: case_preserving=%s\n" , __func__ , * res == 0 ? "false" : "true" );
3628
+ dprintk ("%s: case_preserving=%s\n" , __func__ , str_false_true ( * res == 0 ) );
3629
3629
return 0 ;
3630
3630
}
3631
3631
@@ -4333,8 +4333,7 @@ static int decode_attr_xattrsupport(struct xdr_stream *xdr, uint32_t *bitmap,
4333
4333
* res = be32_to_cpup (p );
4334
4334
bitmap [2 ] &= ~FATTR4_WORD2_XATTR_SUPPORT ;
4335
4335
}
4336
- dprintk ("%s: XATTR support=%s\n" , __func__ ,
4337
- * res == 0 ? "false" : "true" );
4336
+ dprintk ("%s: XATTR support=%s\n" , __func__ , str_false_true (* res == 0 ));
4338
4337
return 0 ;
4339
4338
}
4340
4339
0 commit comments