From 0c3a5ac28115f45ee1d56717d9a9526bc6d63b05 Mon Sep 17 00:00:00 2001 From: David Howells Date: Fri, 6 Apr 2018 14:17:24 +0100 Subject: afs: Make it possible to get the data version in readpage Store the data version number indicated by an FS.FetchData op into the read request structure so that it's accessible by the page reader. Signed-off-by: David Howells --- fs/afs/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/afs/security.c') diff --git a/fs/afs/security.c b/fs/afs/security.c index bd82c5bf4a6a..cea2fff313dc 100644 --- a/fs/afs/security.c +++ b/fs/afs/security.c @@ -322,7 +322,7 @@ int afs_check_permit(struct afs_vnode *vnode, struct key *key, */ _debug("no valid permit"); - ret = afs_fetch_status(vnode, key); + ret = afs_fetch_status(vnode, key, false); if (ret < 0) { *_access = 0; _leave(" = %d", ret); -- cgit v1.2.3