diff options
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 11 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_file.c | 5 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl.c | 19 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 13 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_lrw.c | 18 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_lrw.h | 5 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 15 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_sysctl.c | 18 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vfs.c | 2 |
9 files changed, 45 insertions, 61 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index 7aa398724706..8c05c3c30741 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -29,11 +29,12 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | |||
33 | #include "xfs.h" | 32 | #include "xfs.h" |
34 | #include "xfs_inum.h" | 33 | #include "xfs_bit.h" |
35 | #include "xfs_log.h" | 34 | #include "xfs_log.h" |
35 | #include "xfs_inum.h" | ||
36 | #include "xfs_sb.h" | 36 | #include "xfs_sb.h" |
37 | #include "xfs_ag.h" | ||
37 | #include "xfs_dir.h" | 38 | #include "xfs_dir.h" |
38 | #include "xfs_dir2.h" | 39 | #include "xfs_dir2.h" |
39 | #include "xfs_trans.h" | 40 | #include "xfs_trans.h" |
@@ -42,13 +43,13 @@ | |||
42 | #include "xfs_bmap_btree.h" | 43 | #include "xfs_bmap_btree.h" |
43 | #include "xfs_alloc_btree.h" | 44 | #include "xfs_alloc_btree.h" |
44 | #include "xfs_ialloc_btree.h" | 45 | #include "xfs_ialloc_btree.h" |
45 | #include "xfs_alloc.h" | ||
46 | #include "xfs_btree.h" | ||
47 | #include "xfs_attr_sf.h" | ||
48 | #include "xfs_dir_sf.h" | 46 | #include "xfs_dir_sf.h" |
49 | #include "xfs_dir2_sf.h" | 47 | #include "xfs_dir2_sf.h" |
48 | #include "xfs_attr_sf.h" | ||
50 | #include "xfs_dinode.h" | 49 | #include "xfs_dinode.h" |
51 | #include "xfs_inode.h" | 50 | #include "xfs_inode.h" |
51 | #include "xfs_alloc.h" | ||
52 | #include "xfs_btree.h" | ||
52 | #include "xfs_error.h" | 53 | #include "xfs_error.h" |
53 | #include "xfs_rw.h" | 54 | #include "xfs_rw.h" |
54 | #include "xfs_iomap.h" | 55 | #include "xfs_iomap.h" |
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c index 3881622bcf08..b0c00eaa79e4 100644 --- a/fs/xfs/linux-2.6/xfs_file.c +++ b/fs/xfs/linux-2.6/xfs_file.c | |||
@@ -29,11 +29,12 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | |||
33 | #include "xfs.h" | 32 | #include "xfs.h" |
34 | #include "xfs_inum.h" | 33 | #include "xfs_bit.h" |
35 | #include "xfs_log.h" | 34 | #include "xfs_log.h" |
35 | #include "xfs_inum.h" | ||
36 | #include "xfs_sb.h" | 36 | #include "xfs_sb.h" |
37 | #include "xfs_ag.h" | ||
37 | #include "xfs_dir.h" | 38 | #include "xfs_dir.h" |
38 | #include "xfs_dir2.h" | 39 | #include "xfs_dir2.h" |
39 | #include "xfs_trans.h" | 40 | #include "xfs_trans.h" |
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c index 6a3326bcd8d0..d880e9c65fcd 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl.c +++ b/fs/xfs/linux-2.6/xfs_ioctl.c | |||
@@ -29,39 +29,38 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | |||
33 | #include "xfs.h" | 32 | #include "xfs.h" |
34 | |||
35 | #include "xfs_fs.h" | 33 | #include "xfs_fs.h" |
36 | #include "xfs_inum.h" | 34 | #include "xfs_bit.h" |
37 | #include "xfs_log.h" | 35 | #include "xfs_log.h" |
36 | #include "xfs_inum.h" | ||
38 | #include "xfs_trans.h" | 37 | #include "xfs_trans.h" |
39 | #include "xfs_sb.h" | 38 | #include "xfs_sb.h" |
39 | #include "xfs_ag.h" | ||
40 | #include "xfs_dir.h" | 40 | #include "xfs_dir.h" |
41 | #include "xfs_dir2.h" | 41 | #include "xfs_dir2.h" |
42 | #include "xfs_alloc.h" | 42 | #include "xfs_alloc.h" |
43 | #include "xfs_dmapi.h" | 43 | #include "xfs_dmapi.h" |
44 | #include "xfs_mount.h" | 44 | #include "xfs_mount.h" |
45 | #include "xfs_alloc_btree.h" | ||
46 | #include "xfs_bmap_btree.h" | 45 | #include "xfs_bmap_btree.h" |
46 | #include "xfs_alloc_btree.h" | ||
47 | #include "xfs_ialloc_btree.h" | 47 | #include "xfs_ialloc_btree.h" |
48 | #include "xfs_btree.h" | ||
49 | #include "xfs_ialloc.h" | ||
50 | #include "xfs_attr_sf.h" | ||
51 | #include "xfs_dir_sf.h" | 48 | #include "xfs_dir_sf.h" |
49 | #include "xfs_attr_sf.h" | ||
52 | #include "xfs_dir2_sf.h" | 50 | #include "xfs_dir2_sf.h" |
53 | #include "xfs_dinode.h" | 51 | #include "xfs_dinode.h" |
54 | #include "xfs_inode.h" | 52 | #include "xfs_inode.h" |
55 | #include "xfs_bmap.h" | 53 | #include "xfs_btree.h" |
56 | #include "xfs_bit.h" | 54 | #include "xfs_ialloc.h" |
57 | #include "xfs_rtalloc.h" | 55 | #include "xfs_rtalloc.h" |
58 | #include "xfs_error.h" | ||
59 | #include "xfs_itable.h" | 56 | #include "xfs_itable.h" |
57 | #include "xfs_error.h" | ||
60 | #include "xfs_rw.h" | 58 | #include "xfs_rw.h" |
61 | #include "xfs_acl.h" | 59 | #include "xfs_acl.h" |
62 | #include "xfs_cap.h" | 60 | #include "xfs_cap.h" |
63 | #include "xfs_mac.h" | 61 | #include "xfs_mac.h" |
64 | #include "xfs_attr.h" | 62 | #include "xfs_attr.h" |
63 | #include "xfs_bmap.h" | ||
65 | #include "xfs_buf_item.h" | 64 | #include "xfs_buf_item.h" |
66 | #include "xfs_utils.h" | 65 | #include "xfs_utils.h" |
67 | #include "xfs_dfrag.h" | 66 | #include "xfs_dfrag.h" |
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 68c83ec31143..12d2a702c6c3 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
@@ -29,11 +29,11 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | |||
33 | #include "xfs.h" | 32 | #include "xfs.h" |
34 | #include "xfs_fs.h" | 33 | #include "xfs_fs.h" |
35 | #include "xfs_inum.h" | 34 | #include "xfs_bit.h" |
36 | #include "xfs_log.h" | 35 | #include "xfs_log.h" |
36 | #include "xfs_inum.h" | ||
37 | #include "xfs_trans.h" | 37 | #include "xfs_trans.h" |
38 | #include "xfs_sb.h" | 38 | #include "xfs_sb.h" |
39 | #include "xfs_ag.h" | 39 | #include "xfs_ag.h" |
@@ -43,18 +43,17 @@ | |||
43 | #include "xfs_dmapi.h" | 43 | #include "xfs_dmapi.h" |
44 | #include "xfs_quota.h" | 44 | #include "xfs_quota.h" |
45 | #include "xfs_mount.h" | 45 | #include "xfs_mount.h" |
46 | #include "xfs_alloc_btree.h" | ||
47 | #include "xfs_bmap_btree.h" | 46 | #include "xfs_bmap_btree.h" |
47 | #include "xfs_alloc_btree.h" | ||
48 | #include "xfs_ialloc_btree.h" | 48 | #include "xfs_ialloc_btree.h" |
49 | #include "xfs_btree.h" | ||
50 | #include "xfs_ialloc.h" | ||
51 | #include "xfs_attr_sf.h" | ||
52 | #include "xfs_dir_sf.h" | 49 | #include "xfs_dir_sf.h" |
53 | #include "xfs_dir2_sf.h" | 50 | #include "xfs_dir2_sf.h" |
51 | #include "xfs_attr_sf.h" | ||
54 | #include "xfs_dinode.h" | 52 | #include "xfs_dinode.h" |
55 | #include "xfs_inode.h" | 53 | #include "xfs_inode.h" |
56 | #include "xfs_bmap.h" | 54 | #include "xfs_bmap.h" |
57 | #include "xfs_bit.h" | 55 | #include "xfs_btree.h" |
56 | #include "xfs_ialloc.h" | ||
58 | #include "xfs_rtalloc.h" | 57 | #include "xfs_rtalloc.h" |
59 | #include "xfs_error.h" | 58 | #include "xfs_error.h" |
60 | #include "xfs_itable.h" | 59 | #include "xfs_itable.h" |
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c index c04f0c063c58..36dc8b0368b7 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.c +++ b/fs/xfs/linux-2.6/xfs_lrw.c | |||
@@ -29,16 +29,11 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | /* | ||
33 | * fs/xfs/linux/xfs_lrw.c (Linux Read Write stuff) | ||
34 | * | ||
35 | */ | ||
36 | |||
37 | #include "xfs.h" | 32 | #include "xfs.h" |
38 | |||
39 | #include "xfs_fs.h" | 33 | #include "xfs_fs.h" |
40 | #include "xfs_inum.h" | 34 | #include "xfs_bit.h" |
41 | #include "xfs_log.h" | 35 | #include "xfs_log.h" |
36 | #include "xfs_inum.h" | ||
42 | #include "xfs_trans.h" | 37 | #include "xfs_trans.h" |
43 | #include "xfs_sb.h" | 38 | #include "xfs_sb.h" |
44 | #include "xfs_ag.h" | 39 | #include "xfs_ag.h" |
@@ -48,18 +43,17 @@ | |||
48 | #include "xfs_dmapi.h" | 43 | #include "xfs_dmapi.h" |
49 | #include "xfs_quota.h" | 44 | #include "xfs_quota.h" |
50 | #include "xfs_mount.h" | 45 | #include "xfs_mount.h" |
51 | #include "xfs_alloc_btree.h" | ||
52 | #include "xfs_bmap_btree.h" | 46 | #include "xfs_bmap_btree.h" |
47 | #include "xfs_alloc_btree.h" | ||
53 | #include "xfs_ialloc_btree.h" | 48 | #include "xfs_ialloc_btree.h" |
54 | #include "xfs_btree.h" | ||
55 | #include "xfs_ialloc.h" | ||
56 | #include "xfs_attr_sf.h" | ||
57 | #include "xfs_dir_sf.h" | 49 | #include "xfs_dir_sf.h" |
58 | #include "xfs_dir2_sf.h" | 50 | #include "xfs_dir2_sf.h" |
51 | #include "xfs_attr_sf.h" | ||
59 | #include "xfs_dinode.h" | 52 | #include "xfs_dinode.h" |
60 | #include "xfs_inode.h" | 53 | #include "xfs_inode.h" |
61 | #include "xfs_bmap.h" | 54 | #include "xfs_bmap.h" |
62 | #include "xfs_bit.h" | 55 | #include "xfs_btree.h" |
56 | #include "xfs_ialloc.h" | ||
63 | #include "xfs_rtalloc.h" | 57 | #include "xfs_rtalloc.h" |
64 | #include "xfs_error.h" | 58 | #include "xfs_error.h" |
65 | #include "xfs_itable.h" | 59 | #include "xfs_itable.h" |
diff --git a/fs/xfs/linux-2.6/xfs_lrw.h b/fs/xfs/linux-2.6/xfs_lrw.h index 6294dcdb797c..0647e48a8a15 100644 --- a/fs/xfs/linux-2.6/xfs_lrw.h +++ b/fs/xfs/linux-2.6/xfs_lrw.h | |||
@@ -107,9 +107,4 @@ extern ssize_t xfs_sendfile(struct bhv_desc *, struct file *, | |||
107 | 107 | ||
108 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); | 108 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); |
109 | 109 | ||
110 | #define XFS_FSB_TO_DB_IO(io,fsb) \ | ||
111 | (((io)->io_flags & XFS_IOCORE_RT) ? \ | ||
112 | XFS_FSB_TO_BB((io)->io_mount, (fsb)) : \ | ||
113 | XFS_FSB_TO_DADDR((io)->io_mount, (fsb))) | ||
114 | |||
115 | #endif /* __XFS_LRW_H__ */ | 110 | #endif /* __XFS_LRW_H__ */ |
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index f6f6b6750d4f..fac4862d09a6 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -29,32 +29,31 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | |||
33 | #include "xfs.h" | 32 | #include "xfs.h" |
34 | 33 | #include "xfs_bit.h" | |
35 | #include "xfs_inum.h" | ||
36 | #include "xfs_log.h" | 34 | #include "xfs_log.h" |
37 | #include "xfs_clnt.h" | 35 | #include "xfs_clnt.h" |
36 | #include "xfs_inum.h" | ||
38 | #include "xfs_trans.h" | 37 | #include "xfs_trans.h" |
39 | #include "xfs_sb.h" | 38 | #include "xfs_sb.h" |
39 | #include "xfs_ag.h" | ||
40 | #include "xfs_dir.h" | 40 | #include "xfs_dir.h" |
41 | #include "xfs_dir2.h" | 41 | #include "xfs_dir2.h" |
42 | #include "xfs_alloc.h" | 42 | #include "xfs_alloc.h" |
43 | #include "xfs_dmapi.h" | 43 | #include "xfs_dmapi.h" |
44 | #include "xfs_quota.h" | 44 | #include "xfs_quota.h" |
45 | #include "xfs_mount.h" | 45 | #include "xfs_mount.h" |
46 | #include "xfs_alloc_btree.h" | ||
47 | #include "xfs_bmap_btree.h" | 46 | #include "xfs_bmap_btree.h" |
47 | #include "xfs_alloc_btree.h" | ||
48 | #include "xfs_ialloc_btree.h" | 48 | #include "xfs_ialloc_btree.h" |
49 | #include "xfs_btree.h" | ||
50 | #include "xfs_ialloc.h" | ||
51 | #include "xfs_attr_sf.h" | ||
52 | #include "xfs_dir_sf.h" | 49 | #include "xfs_dir_sf.h" |
53 | #include "xfs_dir2_sf.h" | 50 | #include "xfs_dir2_sf.h" |
51 | #include "xfs_attr_sf.h" | ||
54 | #include "xfs_dinode.h" | 52 | #include "xfs_dinode.h" |
55 | #include "xfs_inode.h" | 53 | #include "xfs_inode.h" |
54 | #include "xfs_btree.h" | ||
55 | #include "xfs_ialloc.h" | ||
56 | #include "xfs_bmap.h" | 56 | #include "xfs_bmap.h" |
57 | #include "xfs_bit.h" | ||
58 | #include "xfs_rtalloc.h" | 57 | #include "xfs_rtalloc.h" |
59 | #include "xfs_error.h" | 58 | #include "xfs_error.h" |
60 | #include "xfs_itable.h" | 59 | #include "xfs_itable.h" |
diff --git a/fs/xfs/linux-2.6/xfs_sysctl.c b/fs/xfs/linux-2.6/xfs_sysctl.c index 0dc010356f4d..3dbd57fda2d6 100644 --- a/fs/xfs/linux-2.6/xfs_sysctl.c +++ b/fs/xfs/linux-2.6/xfs_sysctl.c | |||
@@ -29,9 +29,7 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | |||
33 | #include "xfs.h" | 32 | #include "xfs.h" |
34 | #include "xfs_rw.h" | ||
35 | #include <linux/sysctl.h> | 33 | #include <linux/sysctl.h> |
36 | #include <linux/proc_fs.h> | 34 | #include <linux/proc_fs.h> |
37 | 35 | ||
@@ -76,7 +74,7 @@ xfs_stats_clear_proc_handler( | |||
76 | STATIC ctl_table xfs_table[] = { | 74 | STATIC ctl_table xfs_table[] = { |
77 | {XFS_RESTRICT_CHOWN, "restrict_chown", &xfs_params.restrict_chown.val, | 75 | {XFS_RESTRICT_CHOWN, "restrict_chown", &xfs_params.restrict_chown.val, |
78 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 76 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
79 | &sysctl_intvec, NULL, | 77 | &sysctl_intvec, NULL, |
80 | &xfs_params.restrict_chown.min, &xfs_params.restrict_chown.max}, | 78 | &xfs_params.restrict_chown.min, &xfs_params.restrict_chown.max}, |
81 | 79 | ||
82 | {XFS_SGID_INHERIT, "irix_sgid_inherit", &xfs_params.sgid_inherit.val, | 80 | {XFS_SGID_INHERIT, "irix_sgid_inherit", &xfs_params.sgid_inherit.val, |
@@ -86,22 +84,22 @@ STATIC ctl_table xfs_table[] = { | |||
86 | 84 | ||
87 | {XFS_SYMLINK_MODE, "irix_symlink_mode", &xfs_params.symlink_mode.val, | 85 | {XFS_SYMLINK_MODE, "irix_symlink_mode", &xfs_params.symlink_mode.val, |
88 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 86 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
89 | &sysctl_intvec, NULL, | 87 | &sysctl_intvec, NULL, |
90 | &xfs_params.symlink_mode.min, &xfs_params.symlink_mode.max}, | 88 | &xfs_params.symlink_mode.min, &xfs_params.symlink_mode.max}, |
91 | 89 | ||
92 | {XFS_PANIC_MASK, "panic_mask", &xfs_params.panic_mask.val, | 90 | {XFS_PANIC_MASK, "panic_mask", &xfs_params.panic_mask.val, |
93 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 91 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
94 | &sysctl_intvec, NULL, | 92 | &sysctl_intvec, NULL, |
95 | &xfs_params.panic_mask.min, &xfs_params.panic_mask.max}, | 93 | &xfs_params.panic_mask.min, &xfs_params.panic_mask.max}, |
96 | 94 | ||
97 | {XFS_ERRLEVEL, "error_level", &xfs_params.error_level.val, | 95 | {XFS_ERRLEVEL, "error_level", &xfs_params.error_level.val, |
98 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 96 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
99 | &sysctl_intvec, NULL, | 97 | &sysctl_intvec, NULL, |
100 | &xfs_params.error_level.min, &xfs_params.error_level.max}, | 98 | &xfs_params.error_level.min, &xfs_params.error_level.max}, |
101 | 99 | ||
102 | {XFS_SYNCD_TIMER, "xfssyncd_centisecs", &xfs_params.syncd_timer.val, | 100 | {XFS_SYNCD_TIMER, "xfssyncd_centisecs", &xfs_params.syncd_timer.val, |
103 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 101 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
104 | &sysctl_intvec, NULL, | 102 | &sysctl_intvec, NULL, |
105 | &xfs_params.syncd_timer.min, &xfs_params.syncd_timer.max}, | 103 | &xfs_params.syncd_timer.min, &xfs_params.syncd_timer.max}, |
106 | 104 | ||
107 | {XFS_INHERIT_SYNC, "inherit_sync", &xfs_params.inherit_sync.val, | 105 | {XFS_INHERIT_SYNC, "inherit_sync", &xfs_params.inherit_sync.val, |
@@ -118,7 +116,7 @@ STATIC ctl_table xfs_table[] = { | |||
118 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 116 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
119 | &sysctl_intvec, NULL, | 117 | &sysctl_intvec, NULL, |
120 | &xfs_params.inherit_noatim.min, &xfs_params.inherit_noatim.max}, | 118 | &xfs_params.inherit_noatim.min, &xfs_params.inherit_noatim.max}, |
121 | 119 | ||
122 | {XFS_BUF_TIMER, "xfsbufd_centisecs", &xfs_params.xfs_buf_timer.val, | 120 | {XFS_BUF_TIMER, "xfsbufd_centisecs", &xfs_params.xfs_buf_timer.val, |
123 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 121 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
124 | &sysctl_intvec, NULL, | 122 | &sysctl_intvec, NULL, |
@@ -136,14 +134,14 @@ STATIC ctl_table xfs_table[] = { | |||
136 | 134 | ||
137 | {XFS_ROTORSTEP, "rotorstep", &xfs_params.rotorstep.val, | 135 | {XFS_ROTORSTEP, "rotorstep", &xfs_params.rotorstep.val, |
138 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, | 136 | sizeof(int), 0644, NULL, &proc_dointvec_minmax, |
139 | &sysctl_intvec, NULL, | 137 | &sysctl_intvec, NULL, |
140 | &xfs_params.rotorstep.min, &xfs_params.rotorstep.max}, | 138 | &xfs_params.rotorstep.min, &xfs_params.rotorstep.max}, |
141 | 139 | ||
142 | /* please keep this the last entry */ | 140 | /* please keep this the last entry */ |
143 | #ifdef CONFIG_PROC_FS | 141 | #ifdef CONFIG_PROC_FS |
144 | {XFS_STATS_CLEAR, "stats_clear", &xfs_params.stats_clear.val, | 142 | {XFS_STATS_CLEAR, "stats_clear", &xfs_params.stats_clear.val, |
145 | sizeof(int), 0644, NULL, &xfs_stats_clear_proc_handler, | 143 | sizeof(int), 0644, NULL, &xfs_stats_clear_proc_handler, |
146 | &sysctl_intvec, NULL, | 144 | &sysctl_intvec, NULL, |
147 | &xfs_params.stats_clear.min, &xfs_params.stats_clear.max}, | 145 | &xfs_params.stats_clear.min, &xfs_params.stats_clear.max}, |
148 | #endif /* CONFIG_PROC_FS */ | 146 | #endif /* CONFIG_PROC_FS */ |
149 | 147 | ||
diff --git a/fs/xfs/linux-2.6/xfs_vfs.c b/fs/xfs/linux-2.6/xfs_vfs.c index 34cc902ec119..1a08a1d84252 100644 --- a/fs/xfs/linux-2.6/xfs_vfs.c +++ b/fs/xfs/linux-2.6/xfs_vfs.c | |||
@@ -29,10 +29,8 @@ | |||
29 | * | 29 | * |
30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ | 30 | * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
31 | */ | 31 | */ |
32 | |||
33 | #include "xfs.h" | 32 | #include "xfs.h" |
34 | #include "xfs_fs.h" | 33 | #include "xfs_fs.h" |
35 | #include "xfs_macros.h" | ||
36 | #include "xfs_inum.h" | 34 | #include "xfs_inum.h" |
37 | #include "xfs_log.h" | 35 | #include "xfs_log.h" |
38 | #include "xfs_clnt.h" | 36 | #include "xfs_clnt.h" |