Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
ec892bb0
Commit
ec892bb0
authored
Dec 29, 2009
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed direct problem for centos52
parent
d1af010a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cifsfs.c
sources/centos52/cifsfs.c
+2
-1
No files found.
sources/centos52/cifsfs.c
View file @
ec892bb0
...
...
@@ -789,7 +789,7 @@ const struct file_operations cifs_file_ops = {
};
const
struct
file_operations
cifs_file_direct_ops
=
{
/* no
mmap, no
aio, no readv -
/* no aio, no readv -
BB reevaluate whether they can be done with directio, no cache */
.
read
=
cifs_user_read
,
.
write
=
cifs_user_write
,
...
...
@@ -798,6 +798,7 @@ const struct file_operations cifs_file_direct_ops = {
.
lock
=
cifs_lock
,
.
fsync
=
cifs_fsync
,
.
flush
=
cifs_flush
,
.
mmap
=
cifs_file_mmap
,
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
.
sendfile
=
generic_file_sendfile
,
/* BB removeme BB */
#else
...
...
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