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
0ccd4802
Commit
0ccd4802
authored
Jul 16, 2010
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Missing ifdef
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
d0e6f44e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fs/cifs/inode.c
fs/cifs/inode.c
+4
-0
No files found.
fs/cifs/inode.c
View file @
0ccd4802
...
...
@@ -777,8 +777,10 @@ cifs_iget(struct super_block *sb, struct cifs_fattr *fattr)
inode
->
i_flags
|=
S_NOATIME
|
S_NOCMTIME
;
if
(
inode
->
i_state
&
I_NEW
)
{
inode
->
i_ino
=
hash
;
#ifdef CONFIG_CIFS_FSCACHE
/* initialize per-inode cache cookie pointer */
CIFS_I
(
inode
)
->
fscache
=
NULL
;
#endif
unlock_new_inode
(
inode
);
}
}
...
...
@@ -810,8 +812,10 @@ struct inode *cifs_root_iget(struct super_block *sb, unsigned long ino)
if
(
!
inode
)
return
ERR_PTR
(
-
ENOMEM
);
#ifdef CONFIG_CIFS_FSCACHE
/* populate tcon->resource_id */
cifs_sb
->
tcon
->
resource_id
=
CIFS_I
(
inode
)
->
uniqueid
;
#endif
if
(
rc
&&
cifs_sb
->
tcon
->
ipc
)
{
cFYI
(
1
,
"ipc connection - fake read 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