]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Give "flavor" an initial value to fix a compile warning
authorAnna Schumaker <bjschuma@netapp.com>
Wed, 25 Sep 2013 21:02:48 +0000 (17:02 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 29 Sep 2013 20:03:34 +0000 (16:03 -0400)
commit2121dc709978345f71cb2479c358f24597eddd27
treead6f22882edf05fc9712a9cea8ab865c1dcc49b7
parentfd863b133d1b5192dbdf811acc2ac7b27ec59ea9
NFS: Give "flavor" an initial value to fix a compile warning

The previous patch introduces a compile warning by not assigning an initial
value to the "flavor" variable.  This could only be a problem if the server
returns a supported secflavor list of length zero, but it's better to
fix this before it's ever hit.

Signed-off-by: Anna Schumaker <bjschuma@netapp.com>
Acked-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c