nfsd4: clean up downgrading code
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 28 Sep 2011 15:37:56 +0000 (11:37 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Oct 2011 22:04:45 +0000 (18:04 -0400)
commit6409a5a65d2b959c3f5e2b8adfa67c349e294652
tree82a765fd44662f4c334d0e639aa2e86341b847ba
parent71c3bcd71393a9e67d5b77597a612537f89c30ed
nfsd4: clean up downgrading code

In response to some review comments, get rid of the somewhat obscure
for-loop with bitops, and improve a comment.

Reported-by: Steve Dickson <steved@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h