Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
fcd8a399
Commit
fcd8a399
authored
Oct 19, 2015
by
Dave Chinner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xfs-stats-fixes' into for-next
parents
1e2103cb
f9d460b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
fs/xfs/Makefile
fs/xfs/Makefile
+1
-1
fs/xfs/xfs_stats.c
fs/xfs/xfs_stats.c
+2
-0
fs/xfs/xfs_super.c
fs/xfs/xfs_super.c
+1
-1
No files found.
fs/xfs/Makefile
View file @
fcd8a399
...
...
@@ -84,6 +84,7 @@ xfs-y += xfs_aops.o \
xfs_message.o
\
xfs_mount.o
\
xfs_mru_cache.o
\
xfs_stats.o
\
xfs_super.o
\
xfs_symlink.o
\
xfs_sysfs.o
\
...
...
@@ -118,7 +119,6 @@ xfs-$(CONFIG_XFS_QUOTA) += xfs_dquot.o \
xfs-$(CONFIG_XFS_RT)
+=
xfs_rtalloc.o
xfs-$(CONFIG_XFS_POSIX_ACL)
+=
xfs_acl.o
xfs-$(CONFIG_PROC_FS)
+=
xfs_stats.o
xfs-$(CONFIG_SYSCTL)
+=
xfs_sysctl.o
xfs-$(CONFIG_COMPAT)
+=
xfs_ioctl32.o
xfs-$(CONFIG_NFSD_PNFS)
+=
xfs_pnfs.o
fs/xfs/xfs_stats.c
View file @
fcd8a399
...
...
@@ -161,6 +161,7 @@ static const struct file_operations xqmstat_proc_fops = {
};
#endif
/* CONFIG_XFS_QUOTA */
#ifdef CONFIG_PROC_FS
int
xfs_init_procfs
(
void
)
{
...
...
@@ -191,3 +192,4 @@ xfs_cleanup_procfs(void)
{
remove_proc_subtree
(
"fs/xfs"
,
NULL
);
}
#endif
/* CONFIG_PROC_FS */
fs/xfs/xfs_super.c
View file @
fcd8a399
...
...
@@ -1477,7 +1477,7 @@ xfs_fs_fill_super(
/* Allocate stats memory before we do operations that might use it */
mp
->
m_stats
.
xs_stats
=
alloc_percpu
(
struct
xfsstats
);
if
(
!
mp
->
m_stats
.
xs_stats
)
{
error
=
PTR_ERR
(
mp
->
m_stats
.
xs_stats
)
;
error
=
-
ENOMEM
;
goto
out_destroy_counters
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment