<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/fs/nfs/nfs3client.c, branch dev</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2015-02-03T19:06:38+00:00</updated>
<entry>
<title>nfs: set hostname when creating nfsv3 ds connection</title>
<updated>2015-02-03T19:06:38+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2014-07-07T22:21:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=36d3e3dcc93f1d3f70916ace76d94267b8948a2a'/>
<id>urn:sha1:36d3e3dcc93f1d3f70916ace76d94267b8948a2a</id>
<content type='text'>
lockd assumes hostname exists otherwise kernel oops.
It can be reproduced by following steps:
1. mount flexfile MDS
2. write some files
3. mount DS via nfsv3

BUG: unable to handle kernel NULL pointer dereference at           (null)
 IP: [&lt;ffffffff8134f332&gt;] strlen+0x2/0x20
 PGD 0
 Oops: 0000 [#1] SMP
 Modules linked in: nfsd(F) nfs_layout_flexfiles(F) rpcsec_gss_krb5(F) auth_rpcgss(F) nfsv4(F) dns_resolver(F) nfsv3(F) nfs_acl(F) nfs(F) lockd(F) sunrpc(F) fscache(F) ebtable_nat(F) nf_conntrack_netbios_ns(F) nf_conntrack_broadcast(F) ipt_MASQUERADE(F) ip6table_nat(F) nf_nat_ipv6(F) ip6table_mangle(F) ip6t_REJECT(F) nf_conntrack_ipv6(F) nf_defrag_ipv6(F) iptable_nat(F) nf_nat_ipv4(F) nf_nat(F) iptable_mangle(F) nf_conntrack_ipv4(F) nf_defrag_ipv4(F) xt_conntrack(F) nf_conntrack(F) ebtable_filter(F) ebtables(F) ip6table_filter(F) ip6_tables(F) bnep(F) snd_ens1371(F) snd_rawmidi(F) snd_ac97_codec(F) btusb(F) ac97_bus(F) snd_seq(F) snd_seq_device(F) snd_pcm(F) ppdev(F) bluetooth(F) 6lowpan_iphc(F) rfkill(F) vmw_balloon(F) snd_timer(F) snd(F) soundcore(F) gameport(F) i2c_piix4(F) e1000(F) vmw_vmci(F) parport_pc(F) parport(F) shpchp(F) uinput(F) xfs(F) libcrc32c(F) vmwgfx(F) ttm(F) drm(F) mptspi(F) scsi_transport_spi(F) mptscsih(F) mptbase(F) i2c_core(F)
 CPU: 0 PID: 10397 Comm: mount.nfs Tainted: GF            3.14.7-100.pd_client.001.fc16.x86_64 #1
 Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
 task: ffff880008942600 ti: ffff880007990000 task.ti: ffff880007990000
 RIP: 0010:[&lt;ffffffff8134f332&gt;]  [&lt;ffffffff8134f332&gt;] strlen+0x2/0x20
 RSP: 0018:ffff880007991aa0  EFLAGS: 00010246
 RAX: 0000000000000000 RBX: ffff880038d39c20 RCX: 0000000000000004
 RDX: 0000000000000006 RSI: 0000000000000010 RDI: 0000000000000000
 RBP: ffff880007991b38 R08: 0000000000000000 R09: 0000000000000000
 R10: 0000000000014600 R11: 0000000000000400 R12: ffffffff81cc8580
 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000004
 FS:  00007f90cd2ef880(0000) GS:ffff88003f600000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000000 CR3: 0000000001710000 CR4: 00000000001407f0
 Stack:
  ffffffffa045f52c ffff880001782230 ffff880004141e28 0006880007991ac8
  ffffffff816dc14b ffff880000000000 ffff880038d39c20 0000000000000010
  0000000481cc0006 0000000000000000 ffffffffa0410be8 000000000000c014
 Call Trace:
  [&lt;ffffffffa045f52c&gt;] ? nlmclnt_lookup_host+0x4c/0x2c0 [lockd]
  [&lt;ffffffff816dc14b&gt;] ? _raw_spin_unlock_bh+0x1b/0x20
  [&lt;ffffffffa0410be8&gt;] ? svc_destroy+0xb8/0x140 [sunrpc]
  [&lt;ffffffffa045c323&gt;] nlmclnt_init+0x53/0xc0 [lockd]
  [&lt;ffffffffa047d2dc&gt;] ? nfs_get_client+0x1cc/0x340 [nfs]
  [&lt;ffffffffa047c2e7&gt;] nfs_start_lockd+0xa7/0xd0 [nfs]
  [&lt;ffffffffa047df71&gt;] nfs_create_server+0x181/0x5c0 [nfs]
  [&lt;ffffffffa04460f3&gt;] nfs3_create_server+0x13/0x30 [nfsv3]
  [&lt;ffffffffa048a0bc&gt;] nfs_try_mount+0x21c/0x300 [nfs]
  [&lt;ffffffff811ca32d&gt;] ? __kmalloc_track_caller+0x1ad/0x240
  [&lt;ffffffffa048b677&gt;] ? nfs_fs_mount+0xc37/0xd80 [nfs]
  [&lt;ffffffffa048ad05&gt;] nfs_fs_mount+0x2c5/0xd80 [nfs]
  [&lt;ffffffffa048a830&gt;] ? nfs_clone_super+0x140/0x140 [nfs]
  [&lt;ffffffffa048a240&gt;] ? nfs_clone_sb_security+0x40/0x40 [nfs]
  [&lt;ffffffff811e7e43&gt;] mount_fs+0x43/0x1b0
  [&lt;ffffffff81193100&gt;] ? __alloc_percpu+0x10/0x20
  [&lt;ffffffff812026e6&gt;] vfs_kern_mount+0x76/0x120
  [&lt;ffffffff81204917&gt;] do_mount+0x237/0xa80

Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>nfsv3: introduce nfs3_set_ds_client</title>
<updated>2015-02-03T19:06:34+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2014-05-30T10:15:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=1a04c6e1a26a43305fe124a0978a3e4be861af89'/>
<id>urn:sha1:1a04c6e1a26a43305fe124a0978a3e4be861af89</id>
<content type='text'>
The flexfiles layout wants to create DS connection over NFSv3.
Add nfs3_set_ds_client to allow that to happen.

Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Tom Haynes &lt;Thomas.Haynes@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFSv3: Fix missing includes of nfs3_fs.h</title>
<updated>2014-09-25T20:28:53+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2014-09-25T20:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=3fc3edf141fd78f624194eb89d7b37ff86138422'/>
<id>urn:sha1:3fc3edf141fd78f624194eb89d7b37ff86138422</id>
<content type='text'>
Silence a few warnings about missing symbols that are due to missing
includes of nfs3_fs.h.

Fixes: 00a36a1090350 (NFS: Move v3 declarations out of internal.h)
Fixes: cb8c20fa53ec2 (NFS: Move NFS v3 acl functions to nfs3_fs.h)
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Only initialize the ACL client in the v3 case</title>
<updated>2012-07-30T23:05:54+00:00</updated>
<author>
<name>Bryan Schumaker</name>
<email>bjschuma@netapp.com</email>
</author>
<published>2012-07-30T20:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=1179acc6a3e260bc4edc74fa94f6c7908290eaec'/>
<id>urn:sha1:1179acc6a3e260bc4edc74fa94f6c7908290eaec</id>
<content type='text'>
v2 and v4 don't use it, so I create two new nfs_rpc_ops functions to
initialize the ACL client only when we are using v3.

Signed-off-by: Bryan Schumaker &lt;bjschuma@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
</feed>
