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
e4e31102
Commit
e4e31102
authored
Nov 06, 2002
by
Eric Sandeen
Committed by
Nathan Scott
Nov 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Remove a couple other readonly device change remnants
SGI Modid: 2.5.x-xfs:slinx:131565a
parent
f9ece4ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
fs/xfs/xfs_qm.c
fs/xfs/xfs_qm.c
+3
-12
No files found.
fs/xfs/xfs_qm.c
View file @
e4e31102
...
...
@@ -1998,16 +1998,11 @@ xfs_qm_init_quotainos(
int
error
;
__int64_t
sbflags
;
uint
flags
;
int
readonly
;
vfs_t
*
vfsp
;
ASSERT
(
mp
->
m_quotainfo
);
uip
=
gip
=
NULL
;
error
=
0
;
sbflags
=
0
;
flags
=
0
;
vfsp
=
XFS_MTOVFS
(
mp
);
readonly
=
vfsp
->
vfs_flag
&
VFS_RDONLY
;
/*
* Get the uquota and gquota inodes
...
...
@@ -2046,7 +2041,7 @@ xfs_qm_init_quotainos(
if
((
error
=
xfs_qm_qino_alloc
(
mp
,
&
uip
,
sbflags
|
XFS_SB_UQUOTINO
,
flags
|
XFS_QMOPT_UQUOTA
)))
goto
error
;
return
XFS_ERROR
(
error
)
;
flags
&=
~
XFS_QMOPT_SBVERSION
;
}
...
...
@@ -2057,18 +2052,14 @@ xfs_qm_init_quotainos(
if
(
uip
)
VN_RELE
(
XFS_ITOV
(
uip
));
goto
error
;
return
XFS_ERROR
(
error
)
;
}
}
XFS_QI_UQIP
(
mp
)
=
uip
;
XFS_QI_GQIP
(
mp
)
=
gip
;
error:
if
(
readonly
)
vfsp
->
vfs_flag
|=
VFS_RDONLY
;
return
XFS_ERROR
(
error
);
return
(
0
);
}
...
...
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