@@ -601,36 +601,11 @@ void __cifs_put_smb_ses(struct cifs_ses *ses);
601
601
extern struct cifs_ses *
602
602
cifs_get_smb_ses (struct TCP_Server_Info * server , struct smb3_fs_context * ctx );
603
603
604
- #if 0 // TODO Remove
605
- void cifs_readdata_release (struct cifs_io_subrequest * rdata );
606
- static inline void cifs_get_readdata (struct cifs_io_subrequest * rdata )
607
- {
608
- refcount_inc (& rdata -> subreq .ref );
609
- }
610
- static inline void cifs_put_readdata (struct cifs_io_subrequest * rdata )
611
- {
612
- if (refcount_dec_and_test (& rdata -> subreq .ref ))
613
- cifs_readdata_release (rdata );
614
- }
615
- #endif
616
604
int cifs_async_readv (struct cifs_io_subrequest * rdata );
617
605
int cifs_readv_receive (struct TCP_Server_Info * server , struct mid_q_entry * mid );
618
606
619
607
void cifs_async_writev (struct cifs_io_subrequest * wdata );
620
608
void cifs_writev_complete (struct work_struct * work );
621
- #if 0 // TODO Remove
622
- struct cifs_io_subrequest * cifs_writedata_alloc (work_func_t complete );
623
- void cifs_writedata_release (struct cifs_io_subrequest * rdata );
624
- static inline void cifs_get_writedata (struct cifs_io_subrequest * wdata )
625
- {
626
- refcount_inc (& wdata -> subreq .ref );
627
- }
628
- static inline void cifs_put_writedata (struct cifs_io_subrequest * wdata )
629
- {
630
- if (refcount_dec_and_test (& wdata -> subreq .ref ))
631
- cifs_writedata_release (wdata );
632
- }
633
- #endif
634
609
int cifs_query_mf_symlink (unsigned int xid , struct cifs_tcon * tcon ,
635
610
struct cifs_sb_info * cifs_sb ,
636
611
const unsigned char * path , char * pbuf ,
0 commit comments