aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/misc.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-24smb: move client and server files to common directory fs/smbSteve French1-1326/+0
2023-04-27SMB3: Close deferred file handles in case of handle lease breakBharath SM1-1/+1
2023-04-27SMB3: Add missing locks to protect deferred close file listBharath SM1-0/+6
2023-04-05cifs: sanitize paths in cifs_update_super_prepath.Thiago Rafael Becker1-1/+1
2023-03-14cifs: use DFS root session instead of tcon sesPaulo Alcantara1-0/+1
2023-03-14cifs: fix use-after-free bug in refresh_cache_worker()Paulo Alcantara1-0/+7
2023-03-01cifs: prevent data race in cifs_reconnect_tcon()Paulo Alcantara1-0/+44
2023-03-01cifs: improve checking of DFS links over STATUS_OBJECT_NAME_INVALIDPaulo Alcantara1-0/+67
2023-02-20cifs: Change the I/O paths to use an iterator rather than a page listDavid Howells1-115/+13
2023-01-04cifs: protect access of TCP_Server_Info::{dstaddr,hostname}Paulo Alcantara1-0/+2
2022-12-19cifs: set resolved ip in sockaddrPaulo Alcantara1-26/+10
2022-12-19cifs: reduce roundtrips on create/qinfo requestsPaulo Alcantara1-45/+0
2022-12-12cifs: fix oops during encryptionPaulo Alcantara1-2/+2
2022-11-04cifs: always iterate smb sessions using primary channelShyam Prasad N1-1/+5
2022-10-07cifs: secmech: use shash_desc directly, remove sdescEnzo Matsumiya1-25/+24
2022-10-07cifs: replace kfree() with kfree_sensitive() for sensitive dataEnzo Matsumiya1-1/+1
2022-10-05cifs: Make tcon contain a wrapper structure cached_fids instead of cached_fidRonnie Sahlberg1-3/+3
2022-10-05smb3: add dynamic trace points for tree disconnectSteve French1-2/+2
2022-09-25cifs: misc: fix spelling typo in commentJiangshan Yi1-1/+1
2022-08-19cifs: Fix memory leak on the deferred closeZhang Xiaoxu1-0/+6
2022-08-17cifs: remove unused server parameter from calc_smb_size()Enzo Matsumiya1-1/+1
2022-08-13Merge tag '5.20-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/ci...Linus Torvalds1-11/+9
2022-08-11cifs: Add constructor/destructors for tcon->cfidRonnie Sahlberg1-11/+9
2022-08-11cifs: Move cached-dir functions into a separate fileRonnie Sahlberg1-6/+6
2022-08-08Merge tag 'pull-work.iov_iter-rebased' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+1
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-2/+1
2022-08-01cifs: avoid use of global locks for high contention dataShyam Prasad N1-0/+2
2022-08-01cifs: list_for_each() -> list_for_each_entry()Enzo Matsumiya1-14/+5
2022-08-01cifs: remove some camelCase and also some static build warningsSteve French1-6/+6
2022-06-22cifs: change iface_list from array to sorted linked listShyam Prasad N1-1/+8
2022-06-12Merge tag '5.19-rc1-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-11/+16
2022-06-09netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_contextDavid Howells1-2/+2
2022-06-06cifs: fix reconnect on smb3 mount typesPaulo Alcantara1-11/+16
2022-05-25cifs: fix ntlmssp on old serversPaulo Alcantara1-1/+0
2022-05-24cifs: cache the dirents for entries in a cached directoryRonnie Sahlberg1-0/+2
2022-05-24cifs: use new enum for ses_statusShyam Prasad N1-1/+1
2022-05-20cifs: return ENOENT for DFS lookup_cache_entry()Enzo Matsumiya1-5/+1
2022-03-28smb3: cleanup and clarify status of tree connectionsSteve French1-1/+1
2022-01-17cifs: quirk for STATUS_OBJECT_NAME_INVALID returned for non-ASCII dfs refsEugene Korenevsky1-0/+49
2021-11-12cifs: protect session channel fields with chan_lockShyam Prasad N1-0/+1
2021-11-10cifs: support nested dfs links over reconnectPaulo Alcantara1-57/+5
2021-11-08cifs: send workstation name during ntlmssp session setupShyam Prasad N1-0/+1
2021-11-05cifs: Create a new shared file holding smb2 pdu definitionsRonnie Sahlberg1-1/+1
2021-09-23smb3: correct server pointer dereferencing check to be more consistentSteve French1-1/+2
2021-09-23cifs: Deal with some warnings from W=1David Howells1-2/+12
2021-09-17cifs: Fix soft lockup during fsstressRohith Surabattula1-2/+2
2021-09-17cifs: Deferred close performance improvementsRohith Surabattula1-0/+37
2021-09-13cifs: remove pathname for file from SPDX headerSteve French1-1/+0
2021-08-12cifs: Call close synchronously during unlink/rename/lease break.Rohith Surabattula1-12/+34
2021-08-12cifs: Handle race conditions during renameRohith Surabattula1-5/+11
2021-07-14cifs: use the expiry output of dns_query to schedule next resolutionShyam Prasad N1-1/+1
2021-06-20cifs: use SPDX-Licence-IdentifierSteve French1-13/+1
2021-05-20Fix KASAN identified use-after-free issue.Rohith Surabattula1-2/+10
2021-05-19Fix kernel oops when CONFIG_DEBUG_ATOMIC_SLEEP is enabled.Rohith Surabattula1-0/+9
2021-05-16cifs: remove deadstore in cifs_close_all_deferred_files()wenhuizhang1-2/+0
2021-05-04Cifs: Fix kernel oops caused by deferred close for files.Rohith Surabattula1-0/+17
2021-05-03cifs: Deferred close for filesRohith Surabattula1-0/+62
2021-04-25cifs: don't cargo-cult strndup()Al Viro1-1/+1
2020-12-14cifs: remove [gu]id/backup[gu]id/file_mode/dir_mode from cifs_sbRonnie Sahlberg1-2/+3
2020-12-14cifs: cleanup misc.cSteve French1-56/+0
2020-12-14cifs: Make extract_sharename function publicSamuel Cabrero1-0/+24
2020-12-14cifs: Make extract_hostname function publicSamuel Cabrero1-0/+32
2020-08-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+4
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long1-4/+4
2020-08-02cifs: handle RESP_GET_DFS_REFERRAL.PathConsumed in reconnectPaulo Alcantara1-4/+3
2020-06-23cifs: misc: Use array_size() in if-statement controlling expressionGustavo A. R. Silva1-9/+7
2020-06-01cifs: Standardize logging outputJoe Perches1-6/+6
2020-06-01cifs: handle hostnames that resolve to same ip in failoverPaulo Alcantara1-0/+48
2020-04-22cifs: ensure correct super block for DFS reconnectPaulo Alcantara1-17/+65
2020-03-22cifs: handle prefix paths in reconnectPaulo Alcantara (SUSE)1-0/+80
2019-11-25CIFS: Properly process SMB3 lease breaksPavel Shilovsky1-14/+3
2019-08-27cifs: replace various strncpy with strscpy and similarRonnie Sahlberg1-0/+22
2019-07-07cifs: Properly handle auto disabling of serverino optionPaulo Alcantara (SUSE)1-0/+1
2019-05-06Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+0
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers1-1/+0
2019-04-24cifs: fix page reference leak with readv/writevJérôme Glisse1-1/+22
2019-04-16CIFS: keep FileInfo handle live during oplock breakAurelien Aptel1-2/+23
2018-12-28cifs: Add support for failover in smb2_reconnect()Paulo Alcantara1-0/+17
2018-12-28cifs: Add support for failover in cifs_mount()Paulo Alcantara1-0/+3
2018-12-28cifs: check kzalloc returnJoe Perches1-14/+20
2018-12-23cifs: Save TTL value when parsing DFS referralsPaulo Alcantara1-0/+2
2018-12-23cifs: auto disable 'serverino' in dfs mountsAurelien Aptel1-2/+10
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+2
2018-10-23smb3: show number of current open files in /proc/fs/cifs/StatsSteve French1-0/+2
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-1/+1
2018-10-24iov_iter: Use accessor functionDavid Howells1-1/+1
2018-09-12cifs: read overflow in is_valid_oplock_break()Dan Carpenter1-0/+8
2018-08-07cifs: simple stats should always be enabledSteve French1-2/+0
2018-06-15CIFS: add iface info to struct cifs_sesAurelien Aptel1-0/+2
2018-06-15cifs: add lease tracking to the cached root fidRonnie Sahlberg1-3/+4
2018-06-12treewide: Use array_size() in vmalloc()Kees Cook1-2/+2
2018-06-05CIFS: Introduce helper function to get page offset and length in smb_rqstLong Li1-0/+17
2018-06-01cifs: remove struct smb2_hdrRonnie Sahlberg1-1/+1
2018-05-27cifs: update calc_size to take a server argumentRonnie Sahlberg1-1/+1
2018-05-27smb3: fix redundant opens on rootSteve French1-0/+3
2018-04-01CIFS: refactor crypto shash/sdesc allocation&freeAurelien Aptel1-0/+54
2018-01-26CIFS: zero sensitive data when freeingAurelien Aptel1-10/+4
2017-07-08[SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferredSteve French1-9/+2
2017-06-20CIFS: check if pages is null rather than bv for a failed allocationColin Ian King1-1/+1
2017-05-03CIFS: fix oplock break deadlocksRabin Vincent1-1/+1
2017-05-02CIFS: Add asynchronous context to support kernel AIOPavel Shilovsky1-0/+120
2017-04-28cifs: don't check for failure from mempool_alloc()NeilBrown1-9/+5
2017-03-01CIFS: move DFS response parsing out of SMB1 codeAurelien Aptel1-0/+105
2016-10-12Clarify locking of cifs file and tcon structures and make more granularSteve French1-7/+8
2016-01-14Prepare for encryption support (first part). Add decryption and encryption ke...Steve French1-1/+1
2015-04-15VFS: normal filesystems (and lustre): d_inode() annotationsDavid Howells1-1/+1
2014-12-07cifs: convert to print_hex_dump() instead of custom implementationAndy Shevchenko1-30/+2
2014-08-11cifs: remove unused function cifs_oplock_break_waitVincent Stehlé1-7/+0
2014-08-09Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-2/+11
2014-08-02[CIFS] Fix incorrect hex vs. decimal in some debug print statementsSteve French1-2/+2
2014-07-31cifs: replace code with free_rsp_buf()Sachin Prabhu1-0/+9
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown1-1/+1
2014-04-16cifs: Wait for writebacks to complete before attempting write.Sachin Prabhu1-2/+72
2013-11-02cifs: Make big endian multiplex ID sequences monotonic on the wireTim Gardner1-4/+6
2013-10-28cifs: Remove redundant multiplex identifier check from check_smb_hdr()Tim Gardner1-10/+2
2013-09-08CIFS: Replace clientCanCache* bools with an integerPavel Shilovsky1-8/+4
2013-09-08cifs: Process post session setup code in respective dialect functions.Shirish Pargaonkar1-0/+1
2013-06-24cifs: track the enablement of signing in the TCP_Server_InfoJeff Layton1-2/+1
2013-05-04[CIFS] cifs: Rename cERROR and cFYI to cifs_dbgJoe Perches1-41/+37
2013-02-13cifs: Convert struct cifs_sb_info to use kuids and kgidsEric W. Biederman1-1/+1
2012-09-24CIFS: Fix fast lease break after open problemPavel Shilovsky1-0/+30
2012-09-24CIFS: Replace netfid with cifs_fid struct in cifsFileInfoPavel Shilovsky1-1/+1
2012-07-24CIFS: Move clear/print_stats code to ops structPavel Shilovsky1-1/+1
2012-07-24CIFS: Respect SMB2 header/max header sizePavel Shilovsky1-6/+19
2012-07-24CIFS: Rename Get/FreeXid and make them work with unsigned intPavel Shilovsky1-2/+2
2012-06-01CIFS: Move get_next_mid to ops structPavel Shilovsky1-88/+1
2012-05-23CIFS: Move add/set_credits and get_credits_field to ops structurePavel Shilovsky1-19/+0
2012-05-16cifs: remove legacy MultiuserMount optionJeff Layton1-47/+0
2012-03-23cifs: add new cifsiod_wq workqueueJeff Layton1-1/+1
2012-03-23CIFS: Change mid_q_entry structure fieldsPavel Shilovsky1-1/+1
2012-03-23CIFS: Expand CurrentMid fieldPavel Shilovsky1-38/+46
2012-03-23CIFS: Separate protocol-specific code from demultiplex codePavel Shilovsky1-2/+5
2012-03-23CIFS: Separate protocol-specific code from transport routinesPavel Shilovsky1-3/+2
2012-03-21CIFS: Introduce credit-based flow controlPavel Shilovsky1-0/+19
2011-10-12cifs: Add mount options for backup intent (try #6)Shirish Pargaonkar1-0/+15
2011-10-12cifs: clean up checkSMBJeff Layton1-26/+25
2011-07-31cifs: simplify refcounting for oplock breaksJeff Layton1-9/+2
2011-05-27[CIFS] Rename three structures to avoid camel caseSteve French1-16/+16
2011-05-19cifs: keep BCC in little-endian formatJeff Layton1-2/+2
2011-05-19consistently use smb_buf_length as be32 for cifs (try 3)Steve French1-5/+3
2011-04-12cifs: fix broken BCC check in is_valid_oplock_breakJeff Layton1-1/+1
2011-04-12Allow user names longer than 32 bytesSteve French1-0/+1
2011-01-31cifs: fix length checks in checkSMBJeff Layton1-16/+17
2011-01-31cifs: force a reconnect if there are too many MIDs in flightJeff Layton1-13/+24
2011-01-31cifs: simplify SMB header check routineJeff Layton1-22/+24
2011-01-20cifs: fix unaligned accesses in cifsConvertToUCSJeff Layton1-71/+0
2011-01-19CIFS: Fix oplock break handling (try #2)Pavel Shilovsky1-1/+1
2010-11-05cifs: make cifs_set_oplock_level() take a cifsInodeInfo pointerPavel Shilovsky1-7/+9
2010-11-02CIFS: Add cifs_set_oplock_levelPavel Shilovsky1-3/+20
2010-10-25cifs: update comments - [s/GlobalSMBSesLock/cifs_file_list_lock/g]Suresh Jayaraman1-1/+1
2010-10-21[CIFS] move close processing from cifs_close to cifsFileInfo_putSteve French1-10/+0
2010-10-21cifs: convert cifs_tcp_ses_lock from a rwlock to a spinlockSuresh Jayaraman1-7/+7
2010-10-18cifs: convert GlobalSMBSeslock from a rwlock to regular spinlockJeff Layton1-4/+4
2010-10-12cifs: keep dentry reference in cifsFileInfo instead of inode referenceJeff Layton1-1/+1
2010-09-29cifs: add cifs_sb_master_tcon and convert some callers to use itJeff Layton1-1/+1
2010-09-29cifs: add function to get a tcon from cifs_sbJeff Layton1-1/+1
2010-07-22cifs: use workqueue instead of slow-workTejun Heo1-8/+12
2010-04-21[CIFS] Neaten cERROR and cFYI macros, reduce text spaceJoe Perches1-41/+40
2010-02-25[CIFS] pSesInfo->sesSem is used as mutex. Rename it to session_mutex andSteve French1-1/+1
2009-11-16cifs: clear server inode number flag while autodisablingSuresh Jayaraman1-1/+1
2009-11-06cifs: clean up handling when server doesn't consistently support inode numbersJeff Layton1-0/+14
2009-09-24cifs: convert oplock breaks to use slow_work facility (try #4)Jeff Layton1-9/+20
2009-09-15cifs: take read lock on GlobalSMBSes_lock in is_valid_oplock_breakJeff Layton1-3/+3
2009-09-15cifs: remove cifsInodeInfo.oplockPending flagJeff Layton1-1/+0
2009-04-30cifs: change cifs_get_name_from_search_buf to use new unicode helperJeff Layton1-60/+0
2009-04-30cifs: move #defines for mapchars into cifs_unicode.hJeff Layton1-11/+0
2008-12-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6Linus Torvalds1-1/+8
2008-12-26cifs: store password in tconJeff Layton1-0/+4
2008-12-26cifs: zero out session password before freeing itJeff Layton1-1/+4
2008-12-04Merge branch 'master' into nextJames Morris1-0/+3
2008-11-20[CIFS] Do not attempt to close invalidated file handlesSteve French1-0/+3
2008-11-18Merge branch 'master' into nextJames Morris1-49/+41
2008-11-17cifs: reinstate sharing of tree connectionsJeff Layton1-39/+35
2008-11-14cifs: reinstate sharing of SMB sessions sans racesJeff Layton1-10/+6
2008-11-14CRED: Wrap task credential accesses in the CIFS filesystemDavid Howells1-2/+2
2008-10-12[CIFS] cifs: remove pointless lock and unlock of GlobalMid_Lock in header_ass...Jeff Layton1-2/+0
2008-09-22cifs: don't use GFP_KERNEL with GFP_NOFSPekka Enberg1-4/+2
2008-05-23[CIFS] remove unused variablesSteve French1-2/+1
2008-04-29[CIFS] convert usage of implicit booleans to boolSteve French1-16/+17
2008-02-07[CIFS] reduce checkpatch warningsSteve French1-6/+8
2007-10-25[CIFS] acl support part 6Steve French1-5/+5
2007-09-28[CIFS] CIFS support for named pipes (part 1)Steve French1-1/+0
2007-07-17[CIFS] More whitespace/formatting fixes (noticed by checkpatch)Steve French1-5/+10
2007-07-13[CIFS] whitespace/formatting fixesSteve French1-5/+7
2007-07-10[CIFS] whitespace cleanupSteve French1-74/+76
2007-07-07[CIFS] more whitespace cleanupSteve French1-32/+32
2007-01-21[CIFS] Remove 2 unneeded kzalloc castsSteve French1-6/+2
2006-12-07[PATCH] slab: remove SLAB_KERNELChristoph Lameter1-2/+2
2006-12-07[PATCH] slab: remove SLAB_NOFSChristoph Lameter1-2/+2
2006-10-12[CIFS] Workaround incomplete byte length returned by someSteve French1-13/+29
2006-09-28[CIFS] Remove static and unused symbolsSteve French1-1/+1
2006-05-31[CIFS] Support for setting up SMB sessions to legacy lanman serversSteve French1-4/+6
2006-03-03[CIFS] Fix slow oplock break response when mounts to differentSteve French1-2/+2
2006-03-02[CIFS] Move noisy debug message (triggerred by some older servers) fromSteve French1-5/+8
2006-02-24[CIFS] Fix large (ie over 64K for MaxCIFSBufSize) buffer case for wrappingSteve French1-11/+16
2006-02-21[CIFS] Convert remaining places in fs/cifs fromEric Sesterhenn1-4/+2
2005-12-12[CIFS] Avoid extra large buffer allocation (and memcpy) in cifs_readpagesSteve French1-1/+1
2005-12-03[CIFS] Add extended stats (STATS2) for total buffer allocations forSteve French1-0/+7
2005-12-01[CIFS] Use fsuid (fsgid) more consistently instead of uid/gid inSteve French1-4/+4
2005-11-29[CIFS] Fix umount --force to wake up the pending response queue, not justSteve French1-5/+12