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
Show 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(
...
@@ -1998,16 +1998,11 @@ xfs_qm_init_quotainos(
int
error
;
int
error
;
__int64_t
sbflags
;
__int64_t
sbflags
;
uint
flags
;
uint
flags
;
int
readonly
;
vfs_t
*
vfsp
;
ASSERT
(
mp
->
m_quotainfo
);
ASSERT
(
mp
->
m_quotainfo
);
uip
=
gip
=
NULL
;
uip
=
gip
=
NULL
;
error
=
0
;
sbflags
=
0
;
sbflags
=
0
;
flags
=
0
;
flags
=
0
;
vfsp
=
XFS_MTOVFS
(
mp
);
readonly
=
vfsp
->
vfs_flag
&
VFS_RDONLY
;
/*
/*
* Get the uquota and gquota inodes
* Get the uquota and gquota inodes
...
@@ -2046,7 +2041,7 @@ xfs_qm_init_quotainos(
...
@@ -2046,7 +2041,7 @@ xfs_qm_init_quotainos(
if
((
error
=
xfs_qm_qino_alloc
(
mp
,
&
uip
,
if
((
error
=
xfs_qm_qino_alloc
(
mp
,
&
uip
,
sbflags
|
XFS_SB_UQUOTINO
,
sbflags
|
XFS_SB_UQUOTINO
,
flags
|
XFS_QMOPT_UQUOTA
)))
flags
|
XFS_QMOPT_UQUOTA
)))
goto
error
;
return
XFS_ERROR
(
error
)
;
flags
&=
~
XFS_QMOPT_SBVERSION
;
flags
&=
~
XFS_QMOPT_SBVERSION
;
}
}
...
@@ -2057,18 +2052,14 @@ xfs_qm_init_quotainos(
...
@@ -2057,18 +2052,14 @@ xfs_qm_init_quotainos(
if
(
uip
)
if
(
uip
)
VN_RELE
(
XFS_ITOV
(
uip
));
VN_RELE
(
XFS_ITOV
(
uip
));
goto
error
;
return
XFS_ERROR
(
error
)
;
}
}
}
}
XFS_QI_UQIP
(
mp
)
=
uip
;
XFS_QI_UQIP
(
mp
)
=
uip
;
XFS_QI_GQIP
(
mp
)
=
gip
;
XFS_QI_GQIP
(
mp
)
=
gip
;
error:
return
(
0
);
if
(
readonly
)
vfsp
->
vfs_flag
|=
VFS_RDONLY
;
return
XFS_ERROR
(
error
);
}
}
...
...
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