소스 검색

nfs: include xattr.h from fs/nfs/nfs3proc.c

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
Tejun Heo 11 년 전
부모
커밋
0a6be65553
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      fs/nfs/nfs3proc.c

+ 1 - 0
fs/nfs/nfs3proc.c

@@ -18,6 +18,7 @@
 #include <linux/lockd/bind.h>
 #include <linux/lockd/bind.h>
 #include <linux/nfs_mount.h>
 #include <linux/nfs_mount.h>
 #include <linux/freezer.h>
 #include <linux/freezer.h>
+#include <linux/xattr.h>
 
 
 #include "iostat.h"
 #include "iostat.h"
 #include "internal.h"
 #include "internal.h"