aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-24smb: move client and server files to common directory fs/smbSteve French1-5936/+0
2023-04-06cifs: double lock in cifs_reconnect_tcon()Dan Carpenter1-1/+1
2023-03-30cifs: prevent infinite recursion in CIFSGetDFSRefer()Paulo Alcantara1-2/+7
2023-03-30cifs: avoid races in parallel reconnects in smb1Paulo Alcantara1-6/+15
2023-03-24smb3: fix unusable share after force unmount failureSteve French1-4/+2
2023-03-01cifs: prevent data race in cifs_reconnect_tcon()Paulo Alcantara1-40/+3
2023-02-22Merge tag '6.3-rc-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-26/+22
2023-02-20cifs: Change the I/O paths to use an iterator rather than a page listDavid Howells1-10/+5
2023-02-20cifs: Convert struct fealist away from 1-element arrayKees Cook1-8/+8
2023-02-20cifs: Fix uninitialized memory reads for oparms.modeVolker Lendecke1-8/+9
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2022-10-20cifs: use stub posix acl handlersChristian Brauner1-298/+0
2022-10-20cifs: implement set acl methodChristian Brauner1-0/+160
2022-10-20cifs: implement get acl methodChristian Brauner1-0/+196
2022-10-13cifs: use ALIGN() and round_up() macrosEnzo Matsumiya1-1/+1
2022-10-05cifs: Replace a couple of one-element arrays with flexible-array membersGustavo A. R. Silva1-1/+1
2022-08-05cifs: remove useless DeleteMidQEntry()Enzo Matsumiya1-3/+3
2022-08-05cifs: when insecure legacy is disabled shrink amount of SMB1 codeSteve French1-451/+2
2022-08-01cifs: avoid use of global locks for high contention dataShyam Prasad N1-14/+14
2022-08-01cifs: remove redundant initialization to variable mnt_sign_enabledColin Ian King1-1/+1
2022-05-24cifs: use new enum for ses_statusShyam Prasad N1-1/+1
2022-05-19cifs: fix signed integer overflow when fl_end is OFFSET_MAXPaulo Alcantara1-1/+2
2022-04-01Merge tag '5.18-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-6/+5
2022-04-01fs: Remove ->readpages address space operationMatthew Wilcox (Oracle)1-1/+1
2022-03-28smb3: cleanup and clarify status of tree connectionsSteve French1-6/+5
2022-01-07cifs: maintain a state machine for tcp/smb/tcon sessionsShyam Prasad N1-8/+16
2022-01-07cifs: take cifs_tcp_ses_lock for status checksShyam Prasad N1-1/+11
2022-01-02cifs: reconnect only the connection and not smb session where possibleShyam Prasad N1-1/+1
2022-01-02cifs: use the chans_need_reconnect bitmap for reconnect statusShyam Prasad N1-5/+7
2022-01-02cifs: track individual channel status using chans_need_reconnectShyam Prasad N1-6/+42
2021-09-13cifs: remove pathname for file from SPDX headerSteve French1-1/+0
2021-08-25cifs: remove support for NTLM and weaker authentication algorithmsRonnie Sahlberg1-105/+1
2021-08-25cifs: enable fscache usage even for files opened as rwShyam Prasad N1-0/+1
2021-07-22CIFS: Clarify SMB1 code for POSIX delete fileSteve French1-2/+5
2021-07-22CIFS: Clarify SMB1 code for POSIX CreateSteve French1-1/+2
2021-07-07CIFS: Clarify SMB1 code for POSIX LockSteve French1-1/+2
2021-07-07CIFS: Clarify SMB1 code for rename open fileSteve French1-1/+2
2021-07-07CIFS: Clarify SMB1 code for deleteSteve French1-1/+2
2021-07-07CIFS: Clarify SMB1 code for SetFileSizeSteve French1-2/+2
2021-07-02CIFS: Clarify SMB1 code for UnixSetPathInfoSteve French1-3/+2
2021-07-02CIFS: Clarify SMB1 code for UnixCreateSymLinkSteve French1-1/+2
2021-07-02cifs: clarify SMB1 code for UnixCreateHardLinkSteve French1-1/+2
2021-06-20cifs: use SPDX-Licence-IdentifierSteve French1-13/+1
2021-06-20cifs: remove redundant initialization of variable rcColin Ian King1-1/+1
2021-04-25cifs: rename the *_shroot* functions to *_cached_dir*Ronnie Sahlberg1-1/+1
2021-04-25cifs: remove old dead codeAurelien Aptel1-50/+0
2021-02-25cifs: use discard iterator to discard unneeded network data more efficientlyDavid Howells1-3/+3
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-02cifs: merge __{cifs,smb2}_reconnect[_tcon]() into cifs_tree_connect()Stefan Metzmacher1-111/+1
2020-08-02cifs: smb1: Try failing back to SetFileInfo if SetPathInfo failsRonnie Sahlberg1-1/+38
2020-06-01cifs: minor fix to two debug messagesSteve French1-1/+1
2020-06-01cifs: Standardize logging outputJoe Perches1-12/+12
2020-06-01cifs: handle hostnames that resolve to same ip in failoverPaulo Alcantara1-18/+37
2020-06-01cifs: remove redundant initialization of variable rcColin Ian King1-1/+1
2020-05-14cifs: fix leaked reference on requeued writeAdam McCoy1-1/+1
2020-04-15cifs: improve read performance for page size 64KB & cache=strict & vers=2.1+Jones Syue1-0/+4
2020-03-22cifs: make use of cap_unix(ses) in cifs_reconnect_tcon()Stefan Metzmacher1-1/+1
2020-03-22cifs: call wake_up(&server->response_q) inside of cifs_reconnect()Stefan Metzmacher1-1/+0
2020-03-22cifs: handle prefix paths in reconnectPaulo Alcantara (SUSE)1-4/+15
2020-02-24cifs: fix rename() by ensuring source handle opened with DELETE bitAurelien Aptel1-1/+2
2020-02-06cifs: fix soft mounts hanging in the reconnect codeRonnie Sahlberg1-1/+1
2020-01-26fs/cifs/cifssmb.c: use true,false for bool variablezhengbin1-2/+2
2019-12-13CIFS: Close cached root handle only if it has a leasePavel Shilovsky1-0/+3
2019-09-26smb3: pass mode bits into create callsSteve French1-1/+2
2019-09-16fs: cifs: cifsssmb: remove redundant assignment to variable retColin Ian King1-1/+1
2019-08-27cifs: replace various strncpy with strscpy and similarRonnie Sahlberg1-132/+65
2019-07-07fs: cifs: cifsssmb: Change return type of convert_ace_to_cifs_aceHariprasad Kelam1-11/+3
2019-07-07cifs: simplify code by removing CONFIG_CIFS_ACL ifdefSteve French1-2/+0
2019-05-07cifs: rename and clarify CIFS_ASYNC_OP and CIFS_NO_RESPRonnie Sahlberg1-94/+4
2019-05-07cifs: fix credits leak for SMB1 oplock breaksRonnie Sahlberg1-1/+1
2019-03-05CIFS: Return error code when getting file handle for writebackPavel Shilovsky1-3/+6
2019-03-05CIFS: Check for reconnects before sending async requestsPavel Shilovsky1-3/+3
2019-03-05CIFS: Respect reconnect in non-MTU credits calculationsPavel Shilovsky1-3/+6
2019-03-04CIFS: Respect SMB2 hdr preamble size in read responsesPavel Shilovsky1-3/+4
2019-03-04CIFS: Count SMB3 credits for malformed pending responsesPavel Shilovsky1-1/+1
2019-03-04cifs: replace snprintf with scnprintfRonnie Sahlberg1-3/+3
2019-03-04CIFS: Fix leaking locked VFS cache pages in writeback retryPavel Shilovsky1-4/+13
2019-01-24CIFS: Fix credits calculations for reads with errorsPavel Shilovsky1-12/+23
2019-01-11CIFS: Fix error paths in writeback codePavel Shilovsky1-3/+4
2019-01-11cifs: move large array from stack to heapAurelien Aptel1-7/+16
2018-12-28cifs: Add support for failover in cifs_reconnect_tcon()Paulo Alcantara1-3/+85
2018-10-23CIFS: pass page offsets on SMB1 read/writeLong Li1-0/+2
2018-10-23cifs: protect against server returning invalid file system block sizeSteve French1-0/+21
2018-09-09fs/cifs: suppress a string overflow warningStephen Rothwell1-3/+8
2018-08-07cifs: use timespec64 internallyArnd Bergmann1-6/+6
2018-07-05cifs: Fix infinite loop when using hard mount optionPaulo Alcantara1-2/+8
2018-06-15cifs: add lease tracking to the cached root fidRonnie Sahlberg1-4/+4
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-02CIFS: Add support for direct pages in wdataLong Li1-3/+14
2018-05-27smb3: fix redundant opens on rootSteve French1-0/+6
2018-04-25cifs: smbd: Don't use RDMA read/write when signing is usedLong Li1-0/+3
2018-04-12cifs: remove rfc1002 hardcoded constants from cifs_discard_remaining_data()Ronnie Sahlberg1-2/+3
2018-04-12cifs: add pdu_size to the TCP_Server_Info structureRonnie Sahlberg1-1/+1
2018-04-11SMB3: Log at least once if tree connect fails during reconnectSteve French1-1/+3
2018-04-02cifs: add server->vals->header_preamble_sizeRonnie Sahlberg1-2/+4
2018-02-07cifs: silence compiler warnings showing up with gcc-8.0.0Arnd Bergmann1-3/+1
2018-01-26CIFS: make IPC a regular tconAurelien Aptel1-3/+4
2018-01-24CIFS: SMBD: Read correct returned data length for RDMA write (SMB read) I/OLong Li1-2/+6
2018-01-24CIFS: SMBD: Upper layer performs SMB write via RDMA read through memory regis...Long Li1-0/+7
2017-09-07Merge tag '4.14-smb3-xattr-enable' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-1/+14
2017-09-04cifs: Check for timeout on Negotiate stageSamuel Cabrero1-0/+12
2017-09-04cifs: Add support for writing attributes on SMB2+Ronnie Sahlberg1-1/+2
2017-07-16fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locksBenjamin Coddington1-1/+1
2017-07-08CIFS: Reconnect expired SMB sessionsPavel Shilovsky1-0/+7
2017-05-12[CIFS] Minor cleanup of xattr query functionSteve French1-1/+3
2017-05-09Don't delay freeing mids when blocked on slow socket write of requestSteve French1-7/+0
2017-05-08fs: cifs: replace CURRENT_TIME by other appropriate apisDeepa Dinamani1-5/+5
2017-05-02Set unicode flag on cifs echo request to avoid Mac errorSteve French1-0/+3
2017-04-10CIFS: Fix null pointer deref during read resp processingPavel Shilovsky1-7/+8
2017-04-07Handle mismatched open callsSachin Prabhu1-4/+7
2017-03-02CIFS: Fix sparse warningsSteve French1-1/+1
2017-03-01CIFS: move DFS response parsing out of SMB1 codeAurelien Aptel1-114/+5
2017-02-01CIFS: Add capability to decrypt big read responsesPavel Shilovsky1-4/+4
2017-02-01CIFS: Add mid handle callbackPavel Shilovsky1-3/+3
2017-02-01CIFS: Send RFC1001 length in a separate iovPavel Shilovsky1-21/+30
2017-02-01CIFS: Make SendReceive2() takes resp iovPavel Shilovsky1-30/+40
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-28CIFS: iterate over posix acl xattr entry correctly in ACL_to_cifs_posix()Eryu Guan1-2/+2
2016-10-12Clarify locking of cifs file and tcon structures and make more granularSteve French1-2/+2
2016-09-27cifs: get rid of unused arguments of CIFSSMBWrite()Al Viro1-10/+3
2016-09-27posix_acl: xattr representation cleanupsAndreas Gruenbacher1-6/+8
2016-05-18Merge branch 'sendmsg.cifs' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-7/+4
2016-05-17Merge branch 'for-cifs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+2
2016-04-23cifs: Check for equality with ACL_TYPE_ACCESS and ACL_TYPE_DEFAULTAndreas Gruenbacher1-2/+2
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-8/+8
2016-03-28cifs_readv_receive: use cifs_read_from_socket()Al Viro1-7/+4
2016-02-29CIFS: Fix SMB2+ interim response processing for read requestsPavel Shilovsky1-3/+18
2015-08-20cifs: Fix use-after-free on mid_q_entryChristopher Oo1-0/+7
2015-06-27client MUST ignore EncryptionKeyLength if CAP_EXTENDED_SECURITY is setNoel Power1-3/+2
2015-05-20CIFS: remove an unneeded NULL checkDan Carpenter1-1/+1
2015-05-10Fix that several functions handle incorrect value of mapcharsNakajima Akira1-10/+11
2015-04-15VFS: normal filesystems (and lustre): d_inode() annotationsDavid Howells1-2/+2
2014-12-10fs/cifs: remove obsolete __constantFabian Frederick1-10/+10
2014-10-16Remap reserved posix characters by default (part 3/3)Steve French1-8/+8
2014-08-02CIFS: Optimize cifs_user_read() in a short read case on reconnectsPavel Shilovsky1-0/+6
2014-08-02CIFS: Count got bytes in read_into_pages()Pavel Shilovsky1-1/+0
2014-08-02CIFS: Use separate var for the number of bytes got in async readPavel Shilovsky1-3/+3
2014-08-02CIFS: Fix wsize usage in iovec writePavel Shilovsky1-4/+0
2014-08-02CIFS: Fix cifs_writev_requeue when wsize changesPavel Shilovsky1-16/+68
2014-07-31cifs: replace code with free_rsp_buf()Sachin Prabhu1-16/+4
2014-04-16Return correct error on query of xattr on file with empty xattrsSteve French1-0/+3
2014-02-07[CIFS] clean up page array when uncached write send failsSteve French1-3/+4
2014-02-07cifs: use a flexarray in cifs_writedataJeff Layton1-7/+1
2014-01-20CIFS: Cleanup cifs open codepathPavel Shilovsky1-5/+11
2014-01-20CIFS: Cleanup CIFSSMBOpenPavel Shilovsky1-68/+82
2013-12-27Add missing end of line termination to some cifs messagesSteve French1-3/+3
2013-11-15setfacl removes part of ACL when setting POSIX ACLs to SambaSteve French1-3/+5
2013-11-02Allow setting per-file compression via CIFS protocolSteve French1-0/+54
2013-10-05do not treat non-symlink reparse points as valid symlinksSteve French1-6/+34
2013-09-18cifs: stop trying to use virtual circuitsJeff Layton1-1/+0
2013-09-08CIFS: Implement follow_link for nounix CIFS mountsPavel Shilovsky1-59/+51
2013-06-29cifs: fill TRANS2_QUERY_FILE_INFO ByteCount fieldsDavid Disseldorp1-0/+2
2013-06-27cifs: fix SMB2 signing enablement in cifs_enable_signingJeff Layton1-2/+2
2013-06-24move sectype to the cifs_ses instead of TCP_Server_InfoJeff Layton1-72/+20
2013-06-24cifs: track the enablement of signing in the TCP_Server_InfoJeff Layton1-35/+41
2013-06-24cifs: track the flavor of the NEGOTIATE reponseJeff Layton1-5/+10
2013-06-24cifs: factor out check for extended security bit into separate functionJeff Layton1-9/+16
2013-06-24cifs: move handling of signed connections into separate functionJeff Layton1-33/+35
2013-06-24cifs: break out lanman NEGOTIATE handling into separate functionJeff Layton1-88/+97
2013-06-24cifs: break out decoding of security blob into separate functionJeff Layton1-49/+60
2013-06-24cifs: throw a warning if negotiate or sess_setup ops are passed NULL server o...Jeff Layton1-6/+5
2013-05-04cifs: store the real expected sequence number in the midJeff Layton1-1/+1
2013-05-04[CIFS] cifs: Rename cERROR and cFYI to cifs_dbgJoe Perches1-239/+244
2013-05-04fs: cifs: use kmemdup instead of kmalloc + memcpySilviu-Mihai Popescu1-2/+1
2013-03-06cifs: don't try to unlock pagecache page after releasing itJeff Layton1-1/+1
2013-02-28cifs: bugfix for unreclaimed writeback pages in cifs_writev_requeue()Ouyang Maochun1-1/+4
2013-02-13cifs: Modify struct cifs_unix_set_info_args to hold a kuid_t and a kgid_tEric W. Biederman1-2/+8
2012-09-28cifs: obtain file access during backup intent lookup (resend)Shirish Pargaonkar1-17/+26
2012-09-24cifs: replace kvec array in readdata with a single kvecJeff Layton1-15/+14
2012-09-24cifs: convert async read code to use pages array without kmappingJeff Layton1-17/+10
2012-09-24cifs: convert async write code to pass in data via rq_pages arrayJeff Layton1-28/+11
2012-09-24cifs: change cifs_call_async to use smb_rqst structsJeff Layton1-7/+13
2012-09-24cifs: change signing routines to deal with smb_rqst structsJeff Layton1-3/+4
2012-09-24CIFS: Move set_file_size to ops structPavel Shilovsky1-19/+21
2012-09-24CIFS: Move hardlink to ops structSteve French1-9/+11
2012-09-24CIFS: Move rename to ops structPavel Shilovsky1-10/+12
2012-09-24CIFS: Move writepage to ops structPavel Shilovsky1-4/+2
2012-09-24CIFS: Add SMB2 support for cifs_iovec_writePavel Shilovsky1-26/+0
2012-09-24CIFS: Move async write to ops structPavel Shilovsky1-1/+3
2012-09-24CIFS: Add SMB2 support for cifs_iovec_readPavel Shilovsky1-1/+1
2012-09-24CIFS: Replace netfid with cifs_fid struct in cifsFileInfoPavel Shilovsky1-2/+2
2012-09-24CIFS: Move unlink code to ops structPavel Shilovsky1-8/+8
2012-08-19cifs: print error code if smb signature verification failsSteve French1-3/+8
2012-07-27CIFS: Move rmdir code to ops structPavel Shilovsky1-7/+8
2012-07-27CIFS: Separate protocol specific part from mkdirPavel Shilovsky1-3/+5
2012-07-27CIFS: Simplify cifs_mkdir callPavel Shilovsky1-4/+4
2012-07-24CIFS: Move clear/print_stats code to ops structPavel Shilovsky1-27/+27
2012-07-24CIFS: Move query inode info code to ops structPavel Shilovsky1-6/+5
2012-07-24CIFS: Move is_path_accessible to ops structPavel Shilovsky1-30/+30
2012-07-24CIFS: Move getting dfs referalls to ops structPavel Shilovsky1-7/+6
2012-07-24CIFS: Process reconnects for SMB2 sharesPavel Shilovsky1-8/+13
2012-07-24CIFS: Add capability to send SMB2 negotiate messagePavel Shilovsky1-7/+0
2012-07-24CIFS: Rename Get/FreeXid and make them work with unsigned intPavel Shilovsky1-69/+77
2012-07-24CIFS: Move protocol specific tcon/tdis code to ops structPavel Shilovsky1-1/+1
2012-07-24CIFS: Move protocol specific session setup/logoff code to ops structPavel Shilovsky1-1/+1
2012-07-24CIFS: Move protocol specific negotiate code to ops structPavel Shilovsky1-2/+2
2012-07-24CIFS: Extend credit mechanism to process request typePavel Shilovsky1-10/+11
2012-07-23cifs: move file_lock off stack in cifs_push_posix_locksJeff Layton1-9/+7
2012-07-23cifs: remove extraneous newlines from cERROR and cFYI callsJeff Layton1-5/+5
2012-07-16cifs: when CONFIG_HIGHMEM is set, serialize the read/write kmapsJeff Layton1-1/+29