commit | 3e60ffdd36fa518cc1822941dbb011e7a9adf513 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed Jul 11 16:30:14 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Jul 16 14:49:40 2012 -0400 |
tree | 252c39f5ab56378b06f8bc6ca04e7a6fe9874c02 | |
parent | eb64cf964d453f8b559a8c0c2625952dbbcb5838 [diff] |
NFS: Clean up nfs41_check_expired_stateid() Clean up: Instead of open-coded flag manipulation, use test_bit() and clear_bit() just like all other accessors of the state->flag field. This also eliminates several unnecessary implicit integer type conversions. To make it absolutely clear what is going on, a number of comments are introduced. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>