Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
4717bed6
Commit
4717bed6
authored
Feb 24, 2009
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] fix build error
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
7fc8f4e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/cifs/cifs_fs_sb.h
fs/cifs/cifs_fs_sb.h
+1
-1
fs/cifs/connect.c
fs/cifs/connect.c
+1
-1
fs/cifs/file.c
fs/cifs/file.c
+1
-1
No files found.
fs/cifs/cifs_fs_sb.h
View file @
4717bed6
...
...
@@ -32,7 +32,7 @@
#define CIFS_MOUNT_OVERR_GID 0x800
/* override gid returned from server */
#define CIFS_MOUNT_DYNPERM 0x1000
/* allow in-memory only mode setting */
#define CIFS_MOUNT_NOPOSIXBRL 0x2000
/* mandatory not posix byte range lock */
#define CIFS_MOUNT_NO
_SSYNC
0x4000
/* don't do slow SMBflush on every sync*/
#define CIFS_MOUNT_NO
SSYNC
0x4000
/* don't do slow SMBflush on every sync*/
struct
cifs_sb_info
{
struct
cifsTconInfo
*
tcon
;
/* primary mount */
...
...
fs/cifs/connect.c
View file @
4717bed6
...
...
@@ -2166,7 +2166,7 @@ static void setup_cifs_sb(struct smb_vol *pvolume_info,
if
(
pvolume_info
->
nobrl
)
cifs_sb
->
mnt_cifs_flags
|=
CIFS_MOUNT_NO_BRL
;
if
(
pvolume_info
->
nostrictsync
)
cifs_sb
->
mnt_cifs_flags
|=
CIFS_MOUNT_NO
_
SSYNC
;
cifs_sb
->
mnt_cifs_flags
|=
CIFS_MOUNT_NOSSYNC
;
if
(
pvolume_info
->
mand_lock
)
cifs_sb
->
mnt_cifs_flags
|=
CIFS_MOUNT_NOPOSIXBRL
;
if
(
pvolume_info
->
cifs_acl
)
...
...
fs/cifs/file.c
View file @
4717bed6
...
...
@@ -1584,7 +1584,7 @@ int cifs_fsync(struct file *file, struct dentry *dentry, int datasync)
CIFS_I
(
inode
)
->
write_behind_rc
=
0
;
tcon
=
CIFS_SB
(
inode
->
i_sb
)
->
tcon
;
if
(
!
rc
&&
tcon
&&
smbfile
&&
!
(
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_NO_
SSYNC
))
!
(
CIFS_SB
(
inode
->
i_sb
)
->
mnt_cifs_flags
&
CIFS_MOUNT_NO
SSYNC
))
rc
=
CIFSSMBFlush
(
xid
,
tcon
,
smbfile
->
netfid
);
}
...
...
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