NFS: Fix the initialisation of the readdir 'cookieverf' array
[profile/ivi/kernel-adaptation-intel-automotive.git] / fs / nfs / nfs3proc.c
index 5195fd6..dba87e6 100644 (file)
@@ -633,7 +633,7 @@ nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
                  u64 cookie, struct page **pages, unsigned int count, int plus)
 {
        struct inode            *dir = dentry->d_inode;
-       __be32                  *verf = NFS_COOKIEVERF(dir);
+       __be32                  *verf = NFS_I(dir)->cookieverf;
        struct nfs3_readdirargs arg = {
                .fh             = NFS_FH(dir),
                .cookie         = cookie,