projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b4d477
)
[CIFS] Fix build problem
author
Steve French
<sfrench@us.ibm.com>
Tue, 11 Mar 2008 21:07:48 +0000
(21:07 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Tue, 11 Mar 2008 21:07:48 +0000
(21:07 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/inode.c
b/fs/cifs/inode.c
index 4f0ee67eb9540e51d2e980637595461827259758..af422625cee6eb3c286c7f297c5d223c19b218a3 100644
(file)
--- a/
fs/cifs/inode.c
+++ b/
fs/cifs/inode.c
@@
-57,9
+57,13
@@
static void cifs_set_ops(struct inode *inode, const bool is_dfs_referral)
inode->i_data.a_ops = &cifs_addr_ops;
break;
case S_IFDIR:
+#ifdef CONFIG_CIFS_DFS_UPCALL
if (is_dfs_referral) {
inode->i_op = &cifs_dfs_referral_inode_operations;
} else {
+#else /* NO DFS support, treat as a directory */
+ {
+#endif
inode->i_op = &cifs_dir_inode_ops;
inode->i_fop = &cifs_dir_ops;
}