diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2012-07-11 22:30:14 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-16 20:49:40 +0200 |
commit | 3e60ffdd36fa518cc1822941dbb011e7a9adf513 (patch) | |
tree | 252c39f5ab56378b06f8bc6ca04e7a6fe9874c02 /fs/cramfs | |
parent | NFS: State reclaim clears OPEN and LOCK state (diff) | |
download | linux-3e60ffdd36fa518cc1822941dbb011e7a9adf513.tar.xz linux-3e60ffdd36fa518cc1822941dbb011e7a9adf513.zip |
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>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions