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
d61dcce2
Commit
d61dcce2
authored
Jan 12, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch afs
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
32c419d9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/afs/dir.c
fs/afs/dir.c
+1
-3
fs/afs/internal.h
fs/afs/internal.h
+1
-0
fs/afs/super.c
fs/afs/super.c
+1
-0
No files found.
fs/afs/dir.c
View file @
d61dcce2
...
...
@@ -62,7 +62,7 @@ const struct inode_operations afs_dir_inode_operations = {
.
setattr
=
afs_setattr
,
};
static
const
struct
dentry_operations
afs_fs_dentry_operations
=
{
const
struct
dentry_operations
afs_fs_dentry_operations
=
{
.
d_revalidate
=
afs_d_revalidate
,
.
d_delete
=
afs_d_delete
,
.
d_release
=
afs_d_release
,
...
...
@@ -582,8 +582,6 @@ static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry,
}
success:
d_set_d_op
(
dentry
,
&
afs_fs_dentry_operations
);
d_add
(
dentry
,
inode
);
_leave
(
" = 0 { vn=%u u=%u } -> { ino=%lu v=%llu }"
,
fid
.
vnode
,
...
...
fs/afs/internal.h
View file @
d61dcce2
...
...
@@ -486,6 +486,7 @@ extern bool afs_cm_incoming_call(struct afs_call *);
* dir.c
*/
extern
const
struct
inode_operations
afs_dir_inode_operations
;
extern
const
struct
dentry_operations
afs_fs_dentry_operations
;
extern
const
struct
file_operations
afs_dir_file_operations
;
/*
...
...
fs/afs/super.c
View file @
d61dcce2
...
...
@@ -336,6 +336,7 @@ static int afs_fill_super(struct super_block *sb, void *data)
if
(
!
root
)
goto
error
;
sb
->
s_d_op
=
&
afs_fs_dentry_operations
;
sb
->
s_root
=
root
;
_leave
(
" = 0"
);
...
...
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