Skip to contentSkip to conversation

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

PATCH In review Tejun Heo 2 participants 7 messages Feb 3, 2014 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 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?

---
 fs/nfs/nfs3proc.c |    1 +
 1 file changed, 1 insertion(+)
fs/nfs/nfs3proc.c +1 -0
@@ -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"

A message that is not in the archive (sent off-list or not yet received): 20140203193107.GH30250-Gd/HAXX7CRxy/[email protected]

#2 lore raw
Quoted 11 lines · Tejun Heo

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?

Cc "J. Bruce Fields" <[email protected]>

EWRONGMAINTAINER… :-)

Quoted 16 lines

---
fs/nfs/nfs3proc.c | 1 +

1 file changed, 1 insertion(+)
fs/nfs/nfs3proc.c +1 -1
@@ -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"
--
Quoted 3 lines

To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Trond Myklebust
Linux NFS client maintainer

A message that is not in the archive (sent off-list or not yet received): F2DD11A7-8D32-4E1E-BB4D-7384F0932B2D-7I+n7zu2hftEKMMhf/[email protected]

author
#4 lore raw
Quoted 12 lines · Trond Myklebust
Quoted 9 lines · Tejun Heo

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?

Quoted 6 lines
Quoted 2 lines
Cc "J. Bruce Fields" <[email protected]>

EWRONGMAINTAINER… :-)

Oopsy, thanks! :)

Signature · 5 lines
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#5 lore raw
In reply to a message not in the archive
Quoted 12 lines · Trond Myklebust
Quoted 9 lines · Tejun Heo

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?

Quoted 6 lines
Quoted 2 lines
Cc "J. Bruce Fields" <[email protected]>

EWRONGMAINTAINER… :-)

Oopsy, thanks! :)

Signature · 5 lines
tejun
_______________________________________________
Containers mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/containers
#6 lore raw
In reply to a message not in the archive
Quoted 11 lines · Tejun Heo

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?

Cc "J. Bruce Fields" <[email protected]>

EWRONGMAINTAINER… :-)

Quoted 16 lines

---
fs/nfs/nfs3proc.c | 1 +

1 file changed, 1 insertion(+)
fs/nfs/nfs3proc.c +1 -1
@@ -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"
--
Quoted 3 lines

To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Trond Myklebust
Linux NFS client maintainer

author Applied
#7 lore raw
In reply to a message not in the archive
Quoted 5 lines · Tejun Heo

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.

Quoted 7 lines

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?

Applied to cgroup/for-3.14-fixes w/ Trond's ack added.

Thanks.

Signature · 5 lines
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author Applied
#8 lore raw
In reply to a message not in the archive
Quoted 5 lines · Tejun Heo

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.

Quoted 7 lines

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?

Applied to cgroup/for-3.14-fixes w/ Trond's ack added.

Thanks.

Signature · 1 line
tejun