]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Clean up cache validity checking
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 8 Dec 2016 23:18:38 +0000 (18:18 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:29:35 +0000 (17:29 -0500)
commit93332d5feea58642c08852d05daf45666670f8c9
tree36d2a5f7ad7086cb0cdde12bdd6907676db080f0
parentc54c9a1ed8e6721bf06eb4b60a6973c394df0d03
NFS: Clean up cache validity checking

Consolidate the open-coded checking of NFS_I(inode)->cache_validity
into a couple of helper functions.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/file.c
fs/nfs/inode.c
fs/nfs/internal.h