diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-08 22:21:00 -0700 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-10 12:47:02 -0700 |
commit | 3a3908c8b09d5ec19d543836d4f38d240ae27fe8 (patch) | |
tree | b5925398b0cc8c610f5587b51cd68eaefaf10bd5 /fs/nfs/callback_proc.c | |
parent | 921b81a8cd5a4acc2a009778d13eedd377362c4c (diff) | |
download | op-kernel-dev-3a3908c8b09d5ec19d543836d4f38d240ae27fe8.zip op-kernel-dev-3a3908c8b09d5ec19d543836d4f38d240ae27fe8.tar.gz |
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 <Anna.Schumaker@netapp.com>
Cc: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
0 files changed, 0 insertions, 0 deletions