• Chuck Lever's avatar
    NFS: Make nfs_cache_array.size a signed integer · 88b8e133
    Chuck Lever authored
    Eliminate a number of implicit type casts in comparisons, and these
    compiler warnings:
    
    fs/nfs/dir.c: In function ‘nfs_readdir_clear_array’:
    fs/nfs/dir.c:264:16: warning: comparison between signed and unsigned
    		integer expressions [-Wsign-compare]
    fs/nfs/dir.c: In function ‘nfs_readdir_search_for_cookie’:
    fs/nfs/dir.c:352:16: warning: comparison between signed and unsigned
    		integer expressions [-Wsign-compare]
    fs/nfs/dir.c: In function ‘nfs_do_filldir’:
    fs/nfs/dir.c:769:38: warning: comparison between signed and unsigned
    		integer expressions [-Wsign-compare]
    fs/nfs/dir.c:780:9: warning: comparison between signed and unsigned
    		integer expressions [-Wsign-compare]
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    88b8e133
dir.c 59.3 KB