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
3c7cb3ec
Commit
3c7cb3ec
authored
Feb 07, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Feb 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] knfsd cleanups
exp_find() is gone (never used).
parent
dd2907bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
fs/nfsd/export.c
fs/nfsd/export.c
+0
-16
No files found.
fs/nfsd/export.c
View file @
3c7cb3ec
...
...
@@ -32,7 +32,6 @@
typedef
struct
svc_client
svc_client
;
typedef
struct
svc_export
svc_export
;
static
svc_export
*
exp_find
(
svc_client
*
clp
,
kdev_t
dev
);
static
svc_export
*
exp_parent
(
svc_client
*
clp
,
kdev_t
dev
,
struct
dentry
*
dentry
);
static
svc_export
*
exp_child
(
svc_client
*
clp
,
kdev_t
dev
,
...
...
@@ -66,21 +65,6 @@ static int want_lock;
static
int
hash_count
;
static
DECLARE_WAIT_QUEUE_HEAD
(
hash_wait
);
/*
* Find a client's export for a device.
*/
static
inline
svc_export
*
exp_find
(
svc_client
*
clp
,
kdev_t
dev
)
{
svc_export
*
exp
;
exp
=
clp
->
cl_export
[
EXPORT_HASH
(
dev
)];
while
(
exp
&&
!
kdev_same
(
exp
->
ex_dev
,
dev
))
exp
=
exp
->
ex_next
;
return
exp
;
}
/*
* Find the client's export entry matching xdev/xino.
*/
...
...
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