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
59af1584
Commit
59af1584
authored
Aug 24, 2008
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix ->llseek() for a bunch of directories
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
8f3f655d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
0 deletions
+7
-0
fs/9p/vfs_dir.c
fs/9p/vfs_dir.c
+1
-0
fs/adfs/dir.c
fs/adfs/dir.c
+1
-0
fs/affs/dir.c
fs/affs/dir.c
+1
-0
fs/autofs4/root.c
fs/autofs4/root.c
+2
-0
fs/befs/linuxvfs.c
fs/befs/linuxvfs.c
+1
-0
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_file.c
+1
-0
No files found.
fs/9p/vfs_dir.c
View file @
59af1584
...
...
@@ -119,6 +119,7 @@ int v9fs_dir_release(struct inode *inode, struct file *filp)
const
struct
file_operations
v9fs_dir_operations
=
{
.
read
=
generic_read_dir
,
.
llseek
=
generic_file_llseek
,
.
readdir
=
v9fs_dir_readdir
,
.
open
=
v9fs_file_open
,
.
release
=
v9fs_dir_release
,
...
...
fs/adfs/dir.c
View file @
59af1584
...
...
@@ -197,6 +197,7 @@ adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_inf
const
struct
file_operations
adfs_dir_operations
=
{
.
read
=
generic_read_dir
,
.
llseek
=
generic_file_llseek
,
.
readdir
=
adfs_readdir
,
.
fsync
=
file_fsync
,
};
...
...
fs/affs/dir.c
View file @
59af1584
...
...
@@ -19,6 +19,7 @@ static int affs_readdir(struct file *, void *, filldir_t);
const
struct
file_operations
affs_dir_operations
=
{
.
read
=
generic_read_dir
,
.
llseek
=
generic_file_llseek
,
.
readdir
=
affs_readdir
,
.
fsync
=
file_fsync
,
};
...
...
fs/autofs4/root.c
View file @
59af1584
...
...
@@ -36,6 +36,7 @@ const struct file_operations autofs4_root_operations = {
.
release
=
dcache_dir_close
,
.
read
=
generic_read_dir
,
.
readdir
=
dcache_readdir
,
.
llseek
=
dcache_dir_lseek
,
.
ioctl
=
autofs4_root_ioctl
,
};
...
...
@@ -44,6 +45,7 @@ const struct file_operations autofs4_dir_operations = {
.
release
=
dcache_dir_close
,
.
read
=
generic_read_dir
,
.
readdir
=
dcache_readdir
,
.
llseek
=
dcache_dir_lseek
,
};
const
struct
inode_operations
autofs4_indirect_root_inode_operations
=
{
...
...
fs/befs/linuxvfs.c
View file @
59af1584
...
...
@@ -66,6 +66,7 @@ static struct kmem_cache *befs_inode_cachep;
static
const
struct
file_operations
befs_dir_operations
=
{
.
read
=
generic_read_dir
,
.
readdir
=
befs_readdir
,
.
llseek
=
generic_file_llseek
,
};
static
const
struct
inode_operations
befs_dir_inode_operations
=
{
...
...
fs/xfs/linux-2.6/xfs_file.c
View file @
59af1584
...
...
@@ -475,6 +475,7 @@ const struct file_operations xfs_invis_file_operations = {
const
struct
file_operations
xfs_dir_file_operations
=
{
.
read
=
generic_read_dir
,
.
readdir
=
xfs_file_readdir
,
.
llseek
=
generic_file_llseek
,
.
unlocked_ioctl
=
xfs_file_ioctl
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
xfs_file_compat_ioctl
,
...
...
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