diff options
author | Steve French <sfrench@us.ibm.com> | 2008-03-11 21:07:48 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-03-11 21:07:48 +0000 |
commit | bc5b6e24a17f90c7d096d857650f4739cc95c941 (patch) | |
tree | 31f4c2e7fc352c0365b83576cc341974c7e41be4 /fs/cifs/inode.c | |
parent | 5b4d4771e2a56671c7f1c94edda427a1e3d6f111 (diff) | |
download | op-kernel-dev-bc5b6e24a17f90c7d096d857650f4739cc95c941.zip op-kernel-dev-bc5b6e24a17f90c7d096d857650f4739cc95c941.tar.gz |
[CIFS] Fix build problem
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 4f0ee67..af42262 100644 --- 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; } |