aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 90ab83647b82..e2a8e4456275 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -288,8 +288,6 @@ cifs_new_fileinfo(struct cifs_fid *fid, struct file *file,
288 return cfile; 288 return cfile;
289} 289}
290 290
291static void cifs_del_lock_waiters(struct cifsLockInfo *lock);
292
293struct cifsFileInfo * 291struct cifsFileInfo *
294cifsFileInfo_get(struct cifsFileInfo *cifs_file) 292cifsFileInfo_get(struct cifsFileInfo *cifs_file)
295{ 293{
@@ -696,7 +694,7 @@ cifs_lock_init(__u64 offset, __u64 length, __u8 type)
696 return lock; 694 return lock;
697} 695}
698 696
699static void 697void
700cifs_del_lock_waiters(struct cifsLockInfo *lock) 698cifs_del_lock_waiters(struct cifsLockInfo *lock)
701{ 699{
702 struct cifsLockInfo *li, *tmp; 700 struct cifsLockInfo *li, *tmp;
@@ -1229,7 +1227,7 @@ cifs_getlk(struct file *file, struct file_lock *flock, __u32 type,
1229 return 0; 1227 return 0;
1230} 1228}
1231 1229
1232static void 1230void
1233cifs_move_llist(struct list_head *source, struct list_head *dest) 1231cifs_move_llist(struct list_head *source, struct list_head *dest)
1234{ 1232{
1235 struct list_head *li, *tmp; 1233 struct list_head *li, *tmp;
@@ -1237,7 +1235,7 @@ cifs_move_llist(struct list_head *source, struct list_head *dest)
1237 list_move(li, dest); 1235 list_move(li, dest);
1238} 1236}
1239 1237
1240static void 1238void
1241cifs_free_llist(struct list_head *llist) 1239cifs_free_llist(struct list_head *llist)
1242{ 1240{
1243 struct cifsLockInfo *li, *tmp; 1241 struct cifsLockInfo *li, *tmp;