Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
linux
提交
99ee4dbd
L
linux
项目概览
xiphi1978
/
linux
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
99ee4dbd
编写于
2月 27, 2007
作者:
S
Steve French
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CIFS] Remove some unused functions/declarations
Signed-off-by:
N
Steve French
<
sfrench@us.ibm.com
>
上级
1ae1bc44
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
14 addition
and
10 deletion
+14
-10
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+2
-2
fs/cifs/cifsfs.h
fs/cifs/cifsfs.h
+2
-2
fs/cifs/cifsglob.h
fs/cifs/cifsglob.h
+5
-3
fs/cifs/cifsproto.h
fs/cifs/cifsproto.h
+1
-1
fs/cifs/dir.c
fs/cifs/dir.c
+1
-1
fs/cifs/inode.c
fs/cifs/inode.c
+3
-1
未找到文件。
fs/cifs/cifsfs.c
浏览文件 @
99ee4dbd
...
...
@@ -66,8 +66,8 @@ unsigned int extended_security = CIFSSEC_DEF;
unsigned
int
sign_CIFS_PDUs
=
1
;
extern
struct
task_struct
*
oplockThread
;
/* remove sparse warning */
struct
task_struct
*
oplockThread
=
NULL
;
extern
struct
task_struct
*
dnotifyThread
;
/*
remove sparse warning */
struct
task_struct
*
dnotifyThread
=
NULL
;
/* extern struct task_struct * dnotifyThread;
remove sparse warning */
st
atic
st
ruct
task_struct
*
dnotifyThread
=
NULL
;
static
const
struct
super_operations
cifs_super_ops
;
unsigned
int
CIFSMaxBufSize
=
CIFS_MAX_MSGSIZE
;
module_param
(
CIFSMaxBufSize
,
int
,
0
);
...
...
fs/cifs/cifsfs.h
浏览文件 @
99ee4dbd
...
...
@@ -38,8 +38,8 @@ extern const struct address_space_operations cifs_addr_ops_smallbuf;
/* Functions related to super block operations */
/* extern const struct super_operations cifs_super_ops;*/
extern
void
cifs_read_inode
(
struct
inode
*
);
extern
void
cifs_delete_inode
(
struct
inode
*
);
/* extern void cifs_write_inode(struct inode *); *//* BB not needed yet */
/*extern void cifs_delete_inode(struct inode *);*/
/* BB not needed yet */
/* extern void cifs_write_inode(struct inode *); */
/* BB not needed yet */
/* Functions related to inodes */
extern
const
struct
inode_operations
cifs_dir_inode_ops
;
...
...
fs/cifs/cifsglob.h
浏览文件 @
99ee4dbd
...
...
@@ -525,15 +525,17 @@ require use of the stronger protocol */
*/
GLOBAL_EXTERN
struct
smbUidInfo
*
GlobalUidList
[
UID_HASH
];
GLOBAL_EXTERN
struct
list_head
GlobalServerList
;
/*
BB not implemented yet */
/* GLOBAL_EXTERN struct list_head GlobalServerList;
BB not implemented yet */
GLOBAL_EXTERN
struct
list_head
GlobalSMBSessionList
;
GLOBAL_EXTERN
struct
list_head
GlobalTreeConnectionList
;
GLOBAL_EXTERN
rwlock_t
GlobalSMBSeslock
;
/* protects list inserts on 3 above */
GLOBAL_EXTERN
struct
list_head
GlobalOplock_Q
;
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyReqList
;
/* Outstanding dir notify requests */
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyRsp_Q
;
/* DirNotify response queue */
/* Outstanding dir notify requests */
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyReqList
;
/* DirNotify response queue */
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyRsp_Q
;
/*
* Global transaction id (XID) information
...
...
fs/cifs/cifsproto.h
浏览文件 @
99ee4dbd
...
...
@@ -43,7 +43,7 @@ extern void _FreeXid(unsigned int);
#define FreeXid(curr_xid) {_FreeXid(curr_xid); cFYI(1,("CIFS VFS: leaving %s (xid = %d) rc = %d",__FUNCTION__,curr_xid,(int)rc));}
extern
char
*
build_path_from_dentry
(
struct
dentry
*
);
extern
char
*
build_wildcard_path_from_dentry
(
struct
dentry
*
direntry
);
extern
void
renew_parental_timestamps
(
struct
dentry
*
direntry
);
/* extern void renew_parental_timestamps(struct dentry *direntry);*/
extern
int
SendReceive
(
const
unsigned
int
/* xid */
,
struct
cifsSesInfo
*
,
struct
smb_hdr
*
/* input */
,
struct
smb_hdr
*
/* out */
,
...
...
fs/cifs/dir.c
浏览文件 @
99ee4dbd
...
...
@@ -31,7 +31,7 @@
#include "cifs_debug.h"
#include "cifs_fs_sb.h"
void
static
void
renew_parental_timestamps
(
struct
dentry
*
direntry
)
{
/* BB check if there is a way to get the kernel to do this or if we really need this */
...
...
fs/cifs/inode.c
浏览文件 @
99ee4dbd
...
...
@@ -1134,7 +1134,7 @@ static int cifs_truncate_page(struct address_space *mapping, loff_t from)
return
rc
;
}
int
cifs_vmtruncate
(
struct
inode
*
inode
,
loff_t
offset
)
static
int
cifs_vmtruncate
(
struct
inode
*
inode
,
loff_t
offset
)
{
struct
address_space
*
mapping
=
inode
->
i_mapping
;
unsigned
long
limit
;
...
...
@@ -1431,9 +1431,11 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
return
rc
;
}
#if 0
void cifs_delete_inode(struct inode *inode)
{
cFYI(1, ("In cifs_delete_inode, inode = 0x%p", inode));
/* may have to add back in if and when safe distributed caching of
directories added e.g. via FindNotify */
}
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录