]> git.decadent.org.uk Git - nfs-utils.git/commit
exports: let kernel decide which flags vary by flavor
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 14 Dec 2009 22:07:19 +0000 (17:07 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 13 Jan 2010 20:39:14 +0000 (15:39 -0500)
commitd778309abd38fcd6a240448606192b9ef3411565
treec07979cf6f7feed37c7ba1f9bb88aa2262e69291
parentf783ec6a999e424054ccab773e7c6ba6b38eb1fe
exports: let kernel decide which flags vary by flavor

Query the kernel to ask which flavors vary by pseudoflavor, and use that
instead of a fixed constant.  To allow the possibility of more flags
varying by pseudoflavor, use the set/clear_flags functions for all
options instead of setting some by hand.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
support/include/exportfs.h
support/include/nfs/export.h
support/nfs/exports.c