]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
nfs: include xattr.h from fs/nfs/nfs3proc.c
authorTejun Heo <tj@kernel.org>
Mon, 3 Feb 2014 19:31:07 +0000 (14:31 -0500)
committerTejun Heo <tj@kernel.org>
Mon, 3 Feb 2014 20:43:59 +0000 (15:43 -0500)
fs/nfs/nfs3proc.c is making use of xattr but was getting linux/xattr.h
indirectly through linux/cgroup.h, which will soon drop the inclusion
of xattr.h.  Explicitly include linux/xattr.h from nfs3proc.c so that
compilation doesn't fail when linux/cgroup.h drops linux/xattr.h.

As the following cgroup changes will depend on these changes, it
probably would be easier to route this through cgroup branch.  Would
that be okay?

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: linux-nfs@vger.kernel.org
fs/nfs/nfs3proc.c

index aa9bc973f36a31eacbca297c71f2cd9bb5fb81e9..a462ef0fb5d6dcda8bab6f211e8122d7d972b070 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/lockd/bind.h>
 #include <linux/nfs_mount.h>
 #include <linux/freezer.h>
+#include <linux/xattr.h>
 
 #include "iostat.h"
 #include "internal.h"