android_kernel_asus_sm8350/include/linux/lockd
Chuck Lever 576df4634e NLM: Decode "priv" argument of NLMPROC_SM_NOTIFY as an opaque
The NLM XDR decoders for the NLMPROC_SM_NOTIFY procedure should treat
their "priv" argument truly as an opaque, as defined by the protocol,
and let the upper layers figure out what is in it.

This will make it easier to modify the contents and interpretation of
the "priv" argument, and keep knowledge about what's in "priv" local
to fs/lockd/mon.c.

For now, the NLM and NSM implementations should behave exactly as they
did before.

The formation of the address of the rebooted host in
nlm_host_rebooted() may look a little strange, but it is the inverse
of how nsm_init_private() forms the private cookie.  Plus, it's
going away soon anyway.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-01-06 11:53:54 -05:00
..
bind.h NLM: allow lockd requests from an unprivileged port 2008-12-23 15:21:38 -05:00
debug.h
lockd.h NLM: Change nlm_host_rebooted() to take a single nlm_reboot argument 2009-01-06 11:53:54 -05:00
nlm.h
share.h [PATCH] lockd endianness annotations 2006-10-20 10:26:40 -07:00
sm_inter.h NSM: Generate NSMPROC_MON's "priv" argument when nsm_handle is created 2009-01-06 11:53:53 -05:00
xdr4.h NLM: Fix sparse warnings 2007-05-14 19:33:46 -04:00
xdr.h NLM: Decode "priv" argument of NLMPROC_SM_NOTIFY as an opaque 2009-01-06 11:53:54 -05:00