OSDN Git Service

nfsd4: initialize special stateid's at compile time
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 12 Dec 2011 20:00:35 +0000 (15:00 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 12 Dec 2011 20:27:00 +0000 (15:27 -0500)
commitf32f3c2d3f09a586349ca9180885dc8741290fd9
tree99a08c14a8d400f20f366c310c8f588f2ce3b9cf
parentf5c8593b94190aabdcf207a544f082c7816c4fe6
nfsd4: initialize special stateid's at compile time

Stateid's with "other" ("opaque") field all zeros or all ones are
reserved.  We define all_ones separately on the off chance there will be
more such some day, though currently all the other special stateid's
have zero other field.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c