aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-24smb: move client and server files to common directory fs/smbSteve French1-5097/+0
2023-05-23cifs: Fix cifs_limit_bvec_subset() to correctly check the maxmimum sizeDavid Howells1-1/+2
2023-05-17SMB3: drop reference to cfile before sending oplock breakBharath SM1-5/+12
2023-05-17SMB3: Close all deferred handles of inode in case of handle lease breakBharath SM1-8/+1
2023-04-27SMB3: Close deferred file handles in case of handle lease breakBharath SM1-0/+16
2023-04-18cifs: Fix unbuffered readDavid Howells1-4/+0
2023-03-17cifs: check only tcon status on tcon related functionsShyam Prasad N1-4/+4
2023-03-01cifs: Fix memory leak in direct I/ODavid Howells1-2/+2
2023-03-01cifs: Fix cifs_write_back_from_locked_folio()David Howells1-0/+1
2023-03-01cifs: Add some missing xas_retry() callsDavid Howells1-0/+6
2023-02-24cifs: Fix cifs_writepages_region()David Howells1-1/+2
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-52/+66
2023-02-22Merge tag '6.3-rc-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-1012/+798
2023-02-20cifs: DIO to/from KVEC-type iterators should now workDavid Howells1-20/+0
2023-02-20cifs: Remove unused codeDavid Howells1-606/+0
2023-02-20cifs: Change the I/O paths to use an iterator rather than a page listDavid Howells1-447/+748
2023-02-20cifs: Add some helper functionsDavid Howells1-0/+93
2023-02-20cifs: Implement splice_read to pass down ITER_BVEC not ITER_PIPEDavid Howells1-0/+16
2023-02-20Merge tag 'locks-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayt...Linus Torvalds1-0/+1
2023-02-20cifs: Fix uninitialized memory reads for oparms.modeVolker Lendecke1-16/+19
2023-02-20cifs: Use a folio in cifs_page_mkwrite()Matthew Wilcox (Oracle)1-9/+8
2023-02-06cifs: Fix use-after-free in rdata->read_into_pages()ZhaoLong Wang1-2/+2
2023-02-02fs: convert writepage_t callback to pass a folioMatthew Wilcox (Oracle)1-4/+4
2023-02-02cifs: convert wdata_alloc_and_fillpages() to use filemap_get_folios_tag()Vishal Moola (Oracle)1-3/+29
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2022-12-15Merge tag '6.2-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cif...Linus Torvalds1-14/+22
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-12-08cifs: remove ->writepageChristoph Hellwig1-9/+0
2022-12-08cifs: stop using generic_writepagesChristoph Hellwig1-2/+18
2022-12-08cifs: wire up >migrate_folioChristoph Hellwig1-3/+4
2022-11-30cifs: use locks_inode_context helperJeff Layton1-1/+1
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-10-23cifs: Fix pages leak when writedata alloc failed in cifs_write_from_iter()Zhang Xiaoxu1-0/+3
2022-10-23cifs: Fix pages array leak when writedata alloc failed in cifs_writedata_alloc()Zhang Xiaoxu1-3/+7
2022-10-18cifs: Fix xid leak in cifs_flock()Zhang Xiaoxu1-4/+7
2022-10-15cifs: lease key is uninitialized in two additional functions when smb1Steve French1-2/+2
2022-10-13cifs: improve symlink handling for smb2+Paulo Alcantara1-19/+22
2022-09-25cifs: destage dirty pages before re-reading them for cache=noneRonnie Sahlberg1-0/+9
2022-09-12cifs: revalidate mapping when doing direct writesRonnie Sahlberg1-0/+3
2022-08-13Merge tag '5.20-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/ci...Linus Torvalds1-31/+8
2022-08-11SMB3: fix lease break timeout when multiple deferred close handles for the sa...Bharath SM1-19/+1
2022-08-11smb3: allow deferred close timeout to be configurableSteve French1-2/+2
2022-08-11cifs: Move cached-dir functions into a separate fileRonnie Sahlberg1-7/+2
2022-08-10cifs: fix lock length calculationPaulo Alcantara1-3/+3
2022-08-08Merge tag 'pull-work.iov_iter-rebased' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+3
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-4/+2
2022-08-08new iov_iter flavour - ITER_UBUFAl Viro1-1/+1
2022-08-05cifs: when insecure legacy is disabled shrink amount of SMB1 codeSteve French1-3/+261
2022-08-01cifs: trivial style fixupSteve French1-0/+1
2022-08-01cifs: list_for_each() -> list_for_each_entry()Enzo Matsumiya1-7/+3
2022-08-01cifs: Fix memory leak when using fscacheMatthew Wilcox (Oracle)1-4/+4
2022-06-09netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_contextDavid Howells1-4/+4
2022-05-27Merge tag '5.19-rc-smb3-client-fixes-updated' of git://git.samba.org/sfrench/...Linus Torvalds1-5/+8
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+6
2022-05-22cifs: return the more nuanced writeback error on close()ChenXiaoSong1-1/+4
2022-05-19cifs: fix signed integer overflow when fl_end is OFFSET_MAXPaulo Alcantara1-4/+4
2022-05-09cifs: Convert to release_folioMatthew Wilcox (Oracle)1-7/+7
2022-05-09mm: introduce ->swap_rw and use it for reads from SWP_FS_OPS swap-spaceNeilBrown1-0/+4
2022-05-09mm: move responsibility for setting SWP_FS_OPS to ->swap_activateNeilBrown1-1/+2
2022-05-09cifs: Convert cifs to read_folioMatthew Wilcox (Oracle)1-6/+7
2022-05-08fs: Remove flags parameter from aops->write_beginMatthew Wilcox (Oracle)1-1/+1
2022-05-08fs: Remove aop flags parameter from grab_cache_page_write_begin()Matthew Wilcox (Oracle)1-1/+1
2022-04-01Merge tag '5.18-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-1/+7
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-19/+20
2022-03-22cifs: writeback fixDavid Howells1-1/+7
2022-03-18Adjust cifssb maximum read sizeRohith Surabattula1-0/+10
2022-03-15fscache: Convert fscache_set_page_dirty() to fscache_dirty_folio()Matthew Wilcox (Oracle)1-5/+6
2022-03-15cifs: Convert from launder_page to launder_folioMatthew Wilcox (Oracle)1-9/+9
2022-03-15cifs: Convert from invalidatepage to invalidate_folioMatthew Wilcox (Oracle)1-5/+5
2022-02-01cifs: Fix the readahead conversion to manage the batch when reading from cacheDavid Howells1-1/+1
2022-02-01cifs: Implement cache I/O by accessing the cache directlyDavid Howells1-5/+50
2022-02-01cifs: Transition from ->readpages() to ->readahead()David Howells1-137/+35
2022-01-19cifs: Support fscache indexing rewriteDavid Howells1-25/+41
2021-11-10smb3: do not error on fsync when readonlySteve French1-6/+29
2021-10-25fs: get rid of the res2 iocb->ki_complete argumentJens Axboe1-2/+2
2021-09-23cifs: Clear modified attribute bit from inode flagsSteve French1-1/+1
2021-09-21cifs: fix a sign extension bugDan Carpenter1-1/+1
2021-09-17cifs: Not to defer close on file when lock is setRohith Surabattula1-0/+2
2021-09-13cifs: remove pathname for file from SPDX headerSteve French1-1/+0
2021-08-25cifs: enable fscache usage even for files opened as rwShyam Prasad N1-2/+13
2021-08-12cifs: Call close synchronously during unlink/rename/lease break.Rohith Surabattula1-18/+17
2021-07-26SMB3: fix readpage for large swap cacheSteve French1-1/+1
2021-06-20cifs: use SPDX-Licence-IdentifierSteve French1-13/+1
2021-05-20Fix KASAN identified use-after-free issue.Rohith Surabattula1-7/+13
2021-05-19Defer close only when lease is enabled.Rohith Surabattula1-0/+1
2021-05-19Fix kernel oops when CONFIG_DEBUG_ATOMIC_SLEEP is enabled.Rohith Surabattula1-15/+12
2021-05-05Merge tag '5.13-rc-smb3-part2' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-4/+98
2021-05-04Cifs: Fix kernel oops caused by deferred close for files.Rohith Surabattula1-4/+12
2021-05-03cifs: add shutdown supportSteve French1-0/+6
2021-05-03cifs: Deferred close for filesRohith Surabattula1-2/+82
2021-04-27Merge branch 'work.inode-type-fixes' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2021-04-25cifs: allocate buffer in the caller of build_path_from_dentry()Al Viro1-39/+36
2021-04-25cifs: make build_path_from_dentry() return const char *Al Viro1-4/+4
2021-04-25cifs: constify pathname arguments in a bunch of helpersAl Viro1-2/+2
2021-03-26cifs: revalidate mapping when we open files for SMB1 POSIXRonnie Sahlberg1-0/+1
2021-03-12cifs: have cifs_fattr_to_inode() refuse to change type on live inodeAl Viro1-1/+1
2021-02-22cifs: change confusing field serverName (to ip_addr)Steve French1-1/+1
2020-12-14cifs: move [brw]size from cifs_sb to cifs_sb->ctxRonnie Sahlberg1-6/+6
2020-12-14cifs: remove [gu]id/backup[gu]id/file_mode/dir_mode from cifs_sbRonnie Sahlberg1-2/+3
2020-12-14cifs: remove various function description warningsSteve French1-2/+7
2020-07-07cifs: remove the retry in cifs_poxis_lock_setyangerkun1-13/+6
2020-06-23cifs: Fix double add page to memcg when cifs_readpagesZhang Xiaoxu1-4/+7
2020-06-12smb311: add support for using info level for posix extensions querySteve French1-1/+4
2020-06-05Merge tag '5.8-rc-smb3-fixes-part-1' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-29/+31
2020-06-04cifs: multichannel: move channel selection above transport layerAurelien Aptel1-13/+19
2020-06-04cifs: multichannel: always zero struct cifs_io_parmsAurelien Aptel1-2/+2
2020-06-03mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()Johannes Weiner1-5/+5
2020-06-01cifs: Standardize logging outputJoe Perches1-14/+10
2020-05-14cifs: Fix null pointer check in cifs_readSteve French1-1/+1
2020-04-10smb3: enable swap on SMB3 mountsSteve French1-0/+61
2020-03-22CIFS: Fix bug which the return value by asynchronous read is errorYilu Lin1-1/+1
2020-03-18locks: reinstate locks_delete_block optimizationLinus Torvalds1-1/+2
2020-02-24cifs: fix rename() by ensuring source handle opened with DELETE bitAurelien Aptel1-7/+12
2020-02-06smb3: add one more dynamic tracepoint missing from strict fsync pathSteve French1-1/+3
2020-02-05cifs: Add tracepoints for errors on flush or fsyncSteve French1-2/+5
2020-02-03SMB3: Backup intent flag missing from some more opsAmir Goldstein1-8/+2
2020-01-26cifs: Don't use iov_iter::type directlyDavid Howells1-4/+4
2019-12-03smb3: query attributes on file closeSteve French1-1/+3
2019-12-02CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locksPavel Shilovsky1-3/+4
2019-11-25CIFS: Properly process SMB3 lease breaksPavel Shilovsky1-3/+7
2019-11-25cifs: move cifsFileInfo_put logic into a work-queueRonnie Sahlberg1-25/+49
2019-11-25CIFS: Respect O_SYNC and O_DIRECT flags during reconnectPavel Shilovsky1-0/+7
2019-11-25cifs: smbd: Invalidate and deregister memory registration on re-send for dire...Long Li1-2/+18
2019-11-25CIFS: remove set but not used variables 'cinode' and 'netfid'YueHaibing1-4/+0
2019-11-25cifs: add support for flockSteve French1-1/+51
2019-10-24cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occursDave Wysochanski1-8/+15
2019-10-24CIFS: Fix use after free of file info structuresPavel Shilovsky1-3/+3
2019-10-06CIFS: Gracefully handle QueryInfo errors during openPavel Shilovsky1-0/+6
2019-10-06cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panicDave Wysochanski1-16/+11
2019-09-16cifs: add a helper to find an existing readable handle to a fileRonnie Sahlberg1-0/+36
2019-09-16cifs: create a helper to find a writeable handle by path nameRonnie Sahlberg1-0/+35
2019-09-16cifs: remove set but not used variablesYueHaibing1-7/+0
2019-09-16cifs: remove unused variablezhengbin1-2/+0
2019-06-13cifs: add spinlock for the openFileList to cifsInodeInfoRonnie Sahlberg1-2/+6
2019-05-29CIFS: cifs_read_allocate_pages: don't iterate through whole page array on ENOMEMRoberto Bergantinos Corpas1-1/+3
2019-05-07cifs: remove superfluous inode_lock in cifs_{strict_}fsyncJeff Layton1-5/+0
2019-04-24cifs: fix page reference leak with readv/writevJérôme Glisse1-14/+1
2019-04-16CIFS: keep FileInfo handle live during oplock breakAurelien Aptel1-5/+25
2019-03-22CIFS: Fix an issue with re-sending rdata when transport returning -EAGAINLong Li1-30/+41
2019-03-22CIFS: Fix an issue with re-sending wdata when transport returning -EAGAINLong Li1-32/+45
2019-03-14CIFS: fix POSIX lock leak and invalid ptr derefAurelien Aptel1-1/+13
2019-03-05CIFS: Fix read after write for files with read cachingPavel Shilovsky1-5/+7
2019-03-05CIFS: Return error code when getting file handle for writebackPavel Shilovsky1-29/+61
2019-03-05CIFS: Move open file handling to writepagesPavel Shilovsky1-15/+14
2019-03-05CIFS: Move unlocking pages from wdata_send_pages()Pavel Shilovsky1-7/+5
2019-03-05CIFS: Find and reopen a file before get MTU credits in writepagesPavel Shilovsky1-6/+18
2019-03-05CIFS: Reopen file before get SMB2 MTU credits for async IOPavel Shilovsky1-9/+30
2019-03-05CIFS: Adjust MTU credits before reopening a filePavel Shilovsky1-14/+39
2019-03-05CIFS: Respect reconnect in MTU credits calculationsPavel Shilovsky1-24/+38
2019-03-04smb3: fix bytes_read statisticsSteve French1-2/+0
2019-01-29CIFS: Fix possible oops and memory leaks in async IOPavel Shilovsky1-3/+8
2019-01-11CIFS: Fix error paths in writeback codePavel Shilovsky1-6/+23
2019-01-11cifs: Fix potential OOB access of lock element arrayRoss Lagerwall1-4/+4
2019-01-11cifs: Limit memory used by lock request calls to a pageRoss Lagerwall1-0/+8
2019-01-04fs: don't open code lru_to_page()Nikolay Borisov1-1/+2
2019-01-02Merge tag '4.21-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-2/+10
2018-12-27Merge tag 'locks-v4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jl...Linus Torvalds1-2/+2
2018-12-23CIFS: return correct errors when pinning memory failed for direct I/OLong Li1-1/+7
2018-12-23CIFS: use the correct length when pinning memory for direct I/O for writeLong Li1-1/+3
2018-12-07fs/locks: merge posix_unblock_lock() and locks_delete_block()NeilBrown1-1/+1
2018-12-07CIFS: Avoid returning EBUSY to upper layer VFSLong Li1-25/+6
2018-11-30fs/locks: rename some lists and pointers.NeilBrown1-1/+1
2018-11-02cifs: fix signed/unsigned mismatch on aio_read patchSteve French1-6/+11
2018-11-02CIFS: Add support for direct I/O writeLong Li1-41/+163
2018-11-02CIFS: Add support for direct I/O readLong Li1-39/+186
2018-11-02cifs: fix spelling mistake, EACCESS -> EACCESColin Ian King1-1/+1
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-23cifs: track writepages in vfs operation countersSteve French1-1/+10
2018-10-23cifs: OFD locks do not conflict with eachothersRonnie Sahlberg1-13/+22
2018-10-23cifs: do not return atime less than mtimeSteve French1-2/+6
2018-10-24iov_iter: Use accessor functionDavid Howells1-2/+2
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-02CIFS: Use offset when reading pagesLong Li1-15/+37
2018-06-02CIFS: Add support for direct pages in rdataLong Li1-3/+20
2018-04-17fs: cifs: Adding new return type vm_fault_tSouptick Joarder1-1/+1
2018-04-11page cache: use xa_lockMatthew Wilcox1-5/+4
2018-01-24CIFS: SMBD: Upper layer performs SMB read via RDMA write through memory regis...Long Li1-2/+15
2018-01-24cifs: Fix missing put_xid in cifs_file_strict_mmapMatthew Wilcox1-14/+12
2017-11-15cifs: use find_get_pages_range_tag()Jan Kara1-19/+2
2017-09-22SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flagsSteve French1-0/+7
2017-09-20CIFS: make arrays static const, reduces object code sizeColin Ian King1-4/+8
2017-08-01fs: convert a pile of fsync routines to errseq_t based reportingJeff Layton1-2/+2
2017-07-05CIFS: fix circular locking dependencyRabin Vincent1-2/+2
2017-07-05cifs: set mapping error when page writeback fails in writepage or launder_pagesJeff Layton1-5/+7
2017-06-20CIFS: Set ->should_dirty in cifs_user_readv()Dan Carpenter1-1/+1
2017-05-09CIFS: silence lockdep splat in cifs_relock_file()Rabin Vincent1-1/+1
2017-05-02CIFS: Add asynchronous write support through kernel AIOPavel Shilovsky1-51/+137
2017-05-02CIFS: Add asynchronous read support through kernel AIOPavel Shilovsky1-39/+130
2017-04-10CIFS: store results of cifs_reopen_file to avoid infinite waitGermano Percossi1-3/+3
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-1/+1
2017-02-01CIFS: Add copy into pages callback for a read operationPavel Shilovsky1-6/+46
2017-02-01CIFS: Fix splice read for non-cached filesPavel Shilovsky1-1/+9
2016-12-05CIFS: Fix a possible double locking of mutex during reconnectPavel Shilovsky1-1/+7
2016-10-13CIFS: Reset read oplock to NONE if we have mandatory locks after reopenPavel Shilovsky1-0/+9
2016-10-13CIFS: Fix persistent handles re-opening on reconnectPavel Shilovsky1-5/+17
2016-10-12fs/cifs: reopen persistent handles on reconnectSteve French1-0/+18
2016-10-12Clarify locking of cifs file and tcon structures and make more granularSteve French1-27/+39
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2016-09-27fs: Replace current_fs_time() with current_time()Deepa Dinamani1-2/+2