From: Trond Myklebust Date: Tue, 9 Sep 2014 05:21:00 +0000 (-0700) Subject: NFS: Fix a compile warning when !(CONFIG_NFS_V3 || CONFIG_NFS_V4) X-Git-Tag: fixes-for-v3.18-merge-window~10^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a3908c8b09d5ec19d543836d4f38d240ae27fe8;p=pandora-kernel.git NFS: Fix a compile warning when !(CONFIG_NFS_V3 || CONFIG_NFS_V4) gcc reports: linux/fs/nfs/write.c: In function ‘nfs_page_find_head_request_locked.isra.17’: linux/fs/nfs/write.c:121:64: warning: ‘cinfo.mds’ may be used uninitialized in this function [-Wmaybe-uninitialized] list_for_each_entry_safe(freq, t, &cinfo.mds->list, wb_list) { ^ linux/fs/nfs/write.c:110:25: note: ‘cinfo.mds’ was declared here struct nfs_commit_info cinfo; Reported-by: Anna Schumaker Cc: Weston Andros Adamson Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed