From: Trond Myklebust Date: Fri, 27 Feb 2015 00:52:06 +0000 (-0500) Subject: NFSv4: Set a barrier in the update_changeattr() helper X-Git-Tag: omap-for-v4.1/wl12xx-dt~60^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3235b40303b6f609c446275d0e7f6f9f4fe94156;p=pandora-kernel.git NFSv4: Set a barrier in the update_changeattr() helper Ensure that we don't regress the changes that were made to the directory. Signed-off-by: Trond Myklebust Tested-by: Chuck Lever --- diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index c66c1df467f4..5026c44a98e1 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -1249,6 +1249,7 @@ unsigned long nfs_inc_attr_generation_counter(void) { return atomic_long_inc_return(&nfs_attr_generation_counter); } +EXPORT_SYMBOL_GPL(nfs_inc_attr_generation_counter); void nfs_fattr_init(struct nfs_fattr *fattr) { Reading git-diff-tree failed