|
@@ -408,15 +408,7 @@ static inline void cifsFileInfo_get(struct cifsFileInfo *cifs_file)
|
|
atomic_inc(&cifs_file->count);
|
|
atomic_inc(&cifs_file->count);
|
|
}
|
|
}
|
|
|
|
|
|
-/* Release a reference on the file private data */
|
|
|
|
-static inline void cifsFileInfo_put(struct cifsFileInfo *cifs_file)
|
|
|
|
-{
|
|
|
|
- if (atomic_dec_and_test(&cifs_file->count)) {
|
|
|
|
- cifs_put_tlink(cifs_file->tlink);
|
|
|
|
- dput(cifs_file->dentry);
|
|
|
|
- kfree(cifs_file);
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
|
|
+void cifsFileInfo_put(struct cifsFileInfo *cifs_file);
|
|
|
|
|
|
/*
|
|
/*
|
|
* One of these for each file inode
|
|
* One of these for each file inode
|