From: Chuck Lever Date: Wed, 11 Jul 2012 20:30:14 +0000 (-0400) Subject: NFS: Clean up nfs41_check_expired_stateid() X-Git-Tag: v3.6-rc1~38^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e60ffdd36fa518cc1822941dbb011e7a9adf513;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed