Andre Przywara c775707483 fs/nfs: fix new compiler warning about boolean in switch
The brand new GCC 5.1.0 warns by default on using a boolean in the
switch condition. This results in the following warning:

fs/nfs/nfs4proc.c: In function 'nfs4_proc_get_rootfh':
fs/nfs/nfs4proc.c:3100:10: warning: switch condition has boolean value [-Wswitch-bool]
  switch (auth_probe) {
          ^

This code was obviously using switch to make use of the fall-through
semantics (without the usual comment, though).
Rewrite that code using if statements to avoid the warning and make
the code a bit more readable on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-04-23 15:16:16 -04:00
..
2013-06-08 16:20:18 -04:00
2015-04-23 15:16:16 -04:00
2015-04-23 15:16:14 -04:00
2012-07-30 19:06:41 -04:00
2015-02-03 11:06:34 -08:00
2015-02-03 16:01:27 -05:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2014-11-25 16:38:32 -05:00
2012-07-30 19:06:52 -04:00
2015-01-30 20:43:30 -05:00
2015-02-11 17:14:54 -08:00