]> git.baikalelectronics.ru Git - kernel.git/commit
NLM: Remove address eye-catcher buffers from nlm_host
authorChuck Lever <chuck.lever@oracle.com>
Thu, 4 Dec 2008 19:19:53 +0000 (14:19 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Jan 2009 16:53:49 +0000 (11:53 -0500)
commit41e50d0995911c0a51c90fa3c7bc0871682f81d8
tree53c2ea9b443d7a94c564116c4af706500dbbf889
parentf1340de6f1cf4dd2e6284ab06bf6e10611ba4b8b
NLM: Remove address eye-catcher buffers from nlm_host

The h_name field in struct nlm_host is a just copy of
h_nsmhandle->sm_name.  Likewise, the contents of the h_addrbuf field
should be identical to the sm_addrbuf field.

The h_srcaddrbuf field is used only in one place for debugging.  We can
live without this until we get %pI formatting for printk().

Currently these buffers are 48 bytes, but we need to support scope IDs
in IPv6 presentation addresses, which means making the buffers even
larger.  Instead, let's find ways to eliminate them to save space.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/host.c
include/linux/lockd/lockd.h