afs: Parse the VolSync record in the reply of a number of RPC ops
[sfrench/cifs-2.6.git] / fs / afs / inode.c
index 102e7c37d33c3d78f1d1dfa8daa261c12a60a754..df3d37577b5b5eca796d2032030397b6ebb5dbbe 100644 (file)
@@ -542,7 +542,7 @@ struct inode *afs_root_iget(struct super_block *sb, struct key *key)
        BUG_ON(!(inode->i_state & I_NEW));
 
        vnode = AFS_FS_I(inode);
-       vnode->cb_v_break = as->volume->cb_v_break,
+       vnode->cb_v_break = atomic_read(&as->volume->cb_v_break),
        afs_set_netfs_context(vnode);
 
        op = afs_alloc_operation(key, as->volume);