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
Kirill Smelkov
linux
Commits
1d132b53
Commit
1d132b53
authored
Nov 06, 2002
by
Christoph Hellwig
Committed by
Nathan Scott
Nov 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] remove nopkg() alias for ENOSYS
SGI Modid: 2.5.x-xfs:slinx:130598a
parent
66032dd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
fs/xfs/linux/xfs_linux.h
fs/xfs/linux/xfs_linux.h
+0
-2
fs/xfs/xfs_dmapi.h
fs/xfs/xfs_dmapi.h
+3
-3
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_log_recover.c
+3
-3
No files found.
fs/xfs/linux/xfs_linux.h
View file @
1d132b53
...
...
@@ -155,8 +155,6 @@ typedef struct xfs_dirent { /* data from readdir() */
#define SYNCHRONIZE() barrier()
#define rootdev ROOT_DEV
#define __return_address __builtin_return_address(0)
#define LONGLONG_MAX 9223372036854775807LL
/* max "long long int" */
#define nopkg() ( ENOSYS )
/* IRIX uses a dynamic sizing algorithm (ndquot = 200 + numprocs*2) */
/* we may well need to fine-tune this if it ever becomes an issue. */
...
...
fs/xfs/xfs_dmapi.h
View file @
1d132b53
...
...
@@ -268,7 +268,7 @@ xfs_dm_send_data_event(
int
flags
,
vrwlock_t
*
locktype
)
{
return
nopkg
()
;
return
ENOSYS
;
}
static
__inline
int
...
...
@@ -288,7 +288,7 @@ dm_send_destroy_event(
bhv_desc_t
*
bdp
,
dm_right_t
vp_right
)
{
return
nopkg
()
;
return
ENOSYS
;
}
static
__inline
int
...
...
@@ -304,7 +304,7 @@ dm_send_namesp_event(
int
retcode
,
int
flags
)
{
return
nopkg
()
;
return
ENOSYS
;
}
static
__inline
void
...
...
fs/xfs/xfs_log_recover.c
View file @
1d132b53
...
...
@@ -1802,7 +1802,7 @@ xlog_recover_do_reg_buffer(xfs_mount_t *mp,
*/
error
=
0
;
if
(
buf_f
->
blf_flags
&
(
XFS_BLI_UDQUOT_BUF
|
XFS_BLI_GDQUOT_BUF
))
{
/* OK, if this returns
nopkg()
*/
/* OK, if this returns
ENOSYS
*/
error
=
xfs_qm_dqcheck
((
xfs_disk_dquot_t
*
)
item
->
ri_buf
[
i
].
i_addr
,
-
1
,
0
,
XFS_QMOPT_DOWARN
,
...
...
@@ -2315,7 +2315,7 @@ xlog_recover_do_dquot_trans(xlog_t *log,
* of looking at the SB quota bits.
*
* The other possibility, of course, is that the quota subsystem was
* removed since the last mount -
nopkg()
.
* removed since the last mount -
ENOSYS
.
*/
dq_f
=
(
xfs_dq_logformat_t
*
)
item
->
ri_buf
[
0
].
i_addr
;
ASSERT
(
dq_f
);
...
...
@@ -2323,7 +2323,7 @@ xlog_recover_do_dquot_trans(xlog_t *log,
dq_f
->
qlf_id
,
0
,
XFS_QMOPT_DOWARN
,
"xlog_recover_do_dquot_trans (log copy)"
)))
{
if
(
(
error
==
nopkg
())
)
if
(
error
==
ENOSYS
)
return
(
0
);
return
XFS_ERROR
(
EIO
);
}
...
...
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