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
4efcc9ff
Commit
4efcc9ff
authored
Mar 14, 2014
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lustre: generic_readlink() is just fine there, TYVM...
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
7f4b36f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
drivers/staging/lustre/lustre/llite/symlink.c
drivers/staging/lustre/lustre/llite/symlink.c
+1
-22
No files found.
drivers/staging/lustre/lustre/llite/symlink.c
View file @
4efcc9ff
...
@@ -115,27 +115,6 @@ static int ll_readlink_internal(struct inode *inode,
...
@@ -115,27 +115,6 @@ static int ll_readlink_internal(struct inode *inode,
return
rc
;
return
rc
;
}
}
static
int
ll_readlink
(
struct
dentry
*
dentry
,
char
*
buffer
,
int
buflen
)
{
struct
inode
*
inode
=
dentry
->
d_inode
;
struct
ptlrpc_request
*
request
;
char
*
symname
;
int
rc
;
CDEBUG
(
D_VFSTRACE
,
"VFS Op
\n
"
);
ll_inode_size_lock
(
inode
);
rc
=
ll_readlink_internal
(
inode
,
&
request
,
&
symname
);
if
(
rc
)
GOTO
(
out
,
rc
);
rc
=
vfs_readlink
(
dentry
,
buffer
,
buflen
,
symname
);
out:
ptlrpc_req_finished
(
request
);
ll_inode_size_unlock
(
inode
);
return
rc
;
}
static
void
*
ll_follow_link
(
struct
dentry
*
dentry
,
struct
nameidata
*
nd
)
static
void
*
ll_follow_link
(
struct
dentry
*
dentry
,
struct
nameidata
*
nd
)
{
{
struct
inode
*
inode
=
dentry
->
d_inode
;
struct
inode
*
inode
=
dentry
->
d_inode
;
...
@@ -175,7 +154,7 @@ static void ll_put_link(struct dentry *dentry, struct nameidata *nd, void *cooki
...
@@ -175,7 +154,7 @@ static void ll_put_link(struct dentry *dentry, struct nameidata *nd, void *cooki
}
}
struct
inode_operations
ll_fast_symlink_inode_operations
=
{
struct
inode_operations
ll_fast_symlink_inode_operations
=
{
.
readlink
=
ll
_readlink
,
.
readlink
=
generic
_readlink
,
.
setattr
=
ll_setattr
,
.
setattr
=
ll_setattr
,
.
follow_link
=
ll_follow_link
,
.
follow_link
=
ll_follow_link
,
.
put_link
=
ll_put_link
,
.
put_link
=
ll_put_link
,
...
...
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