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
faa0b4ee
Commit
faa0b4ee
authored
Dec 29, 2009
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed direct problem for centos53
parent
ec892bb0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cifsfs.c
sources/centos53/cifsfs.c
+2
-1
No files found.
sources/centos53/cifsfs.c
View file @
faa0b4ee
...
@@ -881,7 +881,7 @@ struct file_operations cifs_file_ops = {
...
@@ -881,7 +881,7 @@ struct file_operations cifs_file_ops = {
const
const
#endif
#endif
struct
file_operations
cifs_file_direct_ops
=
{
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 */
BB reevaluate whether they can be done with directio, no cache */
.
read
=
cifs_user_read
,
.
read
=
cifs_user_read
,
.
write
=
cifs_user_write
,
.
write
=
cifs_user_write
,
...
@@ -890,6 +890,7 @@ struct file_operations cifs_file_direct_ops = {
...
@@ -890,6 +890,7 @@ struct file_operations cifs_file_direct_ops = {
.
lock
=
cifs_lock
,
.
lock
=
cifs_lock
,
.
fsync
=
cifs_fsync
,
.
fsync
=
cifs_fsync
,
.
flush
=
cifs_flush
,
.
flush
=
cifs_flush
,
.
mmap
=
cifs_file_mmap
,
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
.
sendfile
=
generic_file_sendfile
,
/* BB removeme BB */
.
sendfile
=
generic_file_sendfile
,
/* BB removeme BB */
#else
#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