Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
99ee4dbd
Commit
99ee4dbd
authored
Feb 27, 2007
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Remove some unused functions/declarations
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
1ae1bc44
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
10 deletions
+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
No files found.
fs/cifs/cifsfs.c
View file @
99ee4dbd
...
@@ -66,8 +66,8 @@ unsigned int extended_security = CIFSSEC_DEF;
...
@@ -66,8 +66,8 @@ unsigned int extended_security = CIFSSEC_DEF;
unsigned
int
sign_CIFS_PDUs
=
1
;
unsigned
int
sign_CIFS_PDUs
=
1
;
extern
struct
task_struct
*
oplockThread
;
/* remove sparse warning */
extern
struct
task_struct
*
oplockThread
;
/* remove sparse warning */
struct
task_struct
*
oplockThread
=
NULL
;
struct
task_struct
*
oplockThread
=
NULL
;
extern
struct
task_struct
*
dnotifyThread
;
/*
remove sparse warning */
/* extern struct task_struct * dnotifyThread;
remove sparse warning */
struct
task_struct
*
dnotifyThread
=
NULL
;
st
atic
st
ruct
task_struct
*
dnotifyThread
=
NULL
;
static
const
struct
super_operations
cifs_super_ops
;
static
const
struct
super_operations
cifs_super_ops
;
unsigned
int
CIFSMaxBufSize
=
CIFS_MAX_MSGSIZE
;
unsigned
int
CIFSMaxBufSize
=
CIFS_MAX_MSGSIZE
;
module_param
(
CIFSMaxBufSize
,
int
,
0
);
module_param
(
CIFSMaxBufSize
,
int
,
0
);
...
...
fs/cifs/cifsfs.h
View file @
99ee4dbd
...
@@ -38,8 +38,8 @@ extern const struct address_space_operations cifs_addr_ops_smallbuf;
...
@@ -38,8 +38,8 @@ extern const struct address_space_operations cifs_addr_ops_smallbuf;
/* Functions related to super block operations */
/* Functions related to super block operations */
/* extern const struct super_operations cifs_super_ops;*/
/* extern const struct super_operations cifs_super_ops;*/
extern
void
cifs_read_inode
(
struct
inode
*
);
extern
void
cifs_read_inode
(
struct
inode
*
);
extern
void
cifs_delete_inode
(
struct
inode
*
);
/*extern void cifs_delete_inode(struct inode *);*/
/* BB not needed yet */
/* extern void cifs_write_inode(struct inode *); *//* BB not needed yet */
/* extern void cifs_write_inode(struct inode *); */
/* BB not needed yet */
/* Functions related to inodes */
/* Functions related to inodes */
extern
const
struct
inode_operations
cifs_dir_inode_ops
;
extern
const
struct
inode_operations
cifs_dir_inode_ops
;
...
...
fs/cifs/cifsglob.h
View file @
99ee4dbd
...
@@ -525,15 +525,17 @@ require use of the stronger protocol */
...
@@ -525,15 +525,17 @@ require use of the stronger protocol */
*/
*/
GLOBAL_EXTERN
struct
smbUidInfo
*
GlobalUidList
[
UID_HASH
];
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
GlobalSMBSessionList
;
GLOBAL_EXTERN
struct
list_head
GlobalTreeConnectionList
;
GLOBAL_EXTERN
struct
list_head
GlobalTreeConnectionList
;
GLOBAL_EXTERN
rwlock_t
GlobalSMBSeslock
;
/* protects list inserts on 3 above */
GLOBAL_EXTERN
rwlock_t
GlobalSMBSeslock
;
/* protects list inserts on 3 above */
GLOBAL_EXTERN
struct
list_head
GlobalOplock_Q
;
GLOBAL_EXTERN
struct
list_head
GlobalOplock_Q
;
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyReqList
;
/* Outstanding dir notify requests */
/* Outstanding dir notify requests */
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyRsp_Q
;
/* DirNotify response queue */
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyReqList
;
/* DirNotify response queue */
GLOBAL_EXTERN
struct
list_head
GlobalDnotifyRsp_Q
;
/*
/*
* Global transaction id (XID) information
* Global transaction id (XID) information
...
...
fs/cifs/cifsproto.h
View file @
99ee4dbd
...
@@ -43,7 +43,7 @@ extern void _FreeXid(unsigned int);
...
@@ -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));}
#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_path_from_dentry
(
struct
dentry
*
);
extern
char
*
build_wildcard_path_from_dentry
(
struct
dentry
*
direntry
);
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
*
,
extern
int
SendReceive
(
const
unsigned
int
/* xid */
,
struct
cifsSesInfo
*
,
struct
smb_hdr
*
/* input */
,
struct
smb_hdr
*
/* input */
,
struct
smb_hdr
*
/* out */
,
struct
smb_hdr
*
/* out */
,
...
...
fs/cifs/dir.c
View file @
99ee4dbd
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include "cifs_debug.h"
#include "cifs_debug.h"
#include "cifs_fs_sb.h"
#include "cifs_fs_sb.h"
void
static
void
renew_parental_timestamps
(
struct
dentry
*
direntry
)
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 */
/* BB check if there is a way to get the kernel to do this or if we really need this */
...
...
fs/cifs/inode.c
View file @
99ee4dbd
...
@@ -1134,7 +1134,7 @@ static int cifs_truncate_page(struct address_space *mapping, loff_t from)
...
@@ -1134,7 +1134,7 @@ static int cifs_truncate_page(struct address_space *mapping, loff_t from)
return
rc
;
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
;
struct
address_space
*
mapping
=
inode
->
i_mapping
;
unsigned
long
limit
;
unsigned
long
limit
;
...
@@ -1431,9 +1431,11 @@ cifs_setattr_exit:
...
@@ -1431,9 +1431,11 @@ cifs_setattr_exit:
return
rc
;
return
rc
;
}
}
#if 0
void cifs_delete_inode(struct inode *inode)
void cifs_delete_inode(struct inode *inode)
{
{
cFYI(1, ("In cifs_delete_inode, inode = 0x%p", inode));
cFYI(1, ("In cifs_delete_inode, inode = 0x%p", inode));
/* may have to add back in if and when safe distributed caching of
/* may have to add back in if and when safe distributed caching of
directories added e.g. via FindNotify */
directories added e.g. via FindNotify */
}
}
#endif
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