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
87f26f9b
Commit
87f26f9b
authored
Jul 27, 2012
by
J. Bruce Fields
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfsd4: declare nfs4_recoverydir properly
Signed-off-by:
J. Bruce Fields
<
bfields@redhat.com
>
parent
9c0b0ff7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/nfsd/nfsctl.c
fs/nfsd/nfsctl.c
+0
-2
fs/nfsd/nfsd.h
fs/nfsd/nfsd.h
+2
-0
No files found.
fs/nfsd/nfsctl.c
View file @
87f26f9b
...
...
@@ -1008,8 +1008,6 @@ static ssize_t write_gracetime(struct file *file, char *buf, size_t size)
return
nfsd4_write_time
(
file
,
buf
,
size
,
&
nfsd4_grace
);
}
extern
char
*
nfs4_recoverydir
(
void
);
static
ssize_t
__write_recoverydir
(
struct
file
*
file
,
char
*
buf
,
size_t
size
)
{
char
*
mesg
=
buf
;
...
...
fs/nfsd/nfsd.h
View file @
87f26f9b
...
...
@@ -124,6 +124,7 @@ int nfs4_state_start(void);
void
nfs4_state_shutdown
(
void
);
void
nfs4_reset_lease
(
time_t
leasetime
);
int
nfs4_reset_recoverydir
(
char
*
recdir
);
char
*
nfs4_recoverydir
(
void
);
#else
static
inline
void
nfs4_state_init
(
void
)
{
}
static
inline
int
nfsd4_init_slabs
(
void
)
{
return
0
;
}
...
...
@@ -132,6 +133,7 @@ static inline int nfs4_state_start(void) { return 0; }
static
inline
void
nfs4_state_shutdown
(
void
)
{
}
static
inline
void
nfs4_reset_lease
(
time_t
leasetime
)
{
}
static
inline
int
nfs4_reset_recoverydir
(
char
*
recdir
)
{
return
0
;
}
static
inline
char
*
nfs4_recoverydir
(
void
)
{
return
NULL
;
}
#endif
/*
...
...
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