Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
004c46b9
Commit
004c46b9
authored
Feb 17, 2007
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] One line missing from previous commit
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
1b2b2126
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+1
-0
fs/cifs/file.c
fs/cifs/file.c
+3
-2
No files found.
fs/cifs/cifsfs.c
View file @
004c46b9
...
@@ -287,6 +287,7 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
...
@@ -287,6 +287,7 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
if
(
cifs_sb
)
{
if
(
cifs_sb
)
{
if
(
cifs_sb
->
tcon
)
{
if
(
cifs_sb
->
tcon
)
{
/* BB add prepath to mount options displayed */
seq_printf
(
s
,
",unc=%s"
,
cifs_sb
->
tcon
->
treeName
);
seq_printf
(
s
,
",unc=%s"
,
cifs_sb
->
tcon
->
treeName
);
if
(
cifs_sb
->
tcon
->
ses
)
{
if
(
cifs_sb
->
tcon
->
ses
)
{
if
(
cifs_sb
->
tcon
->
ses
->
userName
)
if
(
cifs_sb
->
tcon
->
ses
->
userName
)
...
...
fs/cifs/file.c
View file @
004c46b9
...
@@ -1014,8 +1014,9 @@ static ssize_t cifs_write(struct file *file, const char *write_data,
...
@@ -1014,8 +1014,9 @@ static ssize_t cifs_write(struct file *file, const char *write_data,
/* since the write may have blocked check these pointers again */
/* since the write may have blocked check these pointers again */
if
(
file
->
f_path
.
dentry
)
{
if
(
file
->
f_path
.
dentry
)
{
if
(
file
->
f_path
.
dentry
->
d_inode
)
{
if
(
file
->
f_path
.
dentry
->
d_inode
)
{
file
->
f_path
.
dentry
->
d_inode
->
i_ctime
=
/*BB We could make this contingent on superblock ATIME flag too */
file
->
f_path
.
dentry
->
d_inode
->
i_mtime
=
CURRENT_TIME
;
/* file->f_path.dentry->d_inode->i_ctime =
file->f_path.dentry->d_inode->i_mtime = CURRENT_TIME;*/
if
(
total_written
>
0
)
{
if
(
total_written
>
0
)
{
if
(
*
poffset
>
file
->
f_path
.
dentry
->
d_inode
->
i_size
)
if
(
*
poffset
>
file
->
f_path
.
dentry
->
d_inode
->
i_size
)
i_size_write
(
file
->
f_path
.
dentry
->
d_inode
,
i_size_write
(
file
->
f_path
.
dentry
->
d_inode
,
...
...
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