aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'for-6.19-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-95/+78
8 daysMerge tag 'for-6.19/io_uring-20251201' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+3
11 daysMerge tag 'vfs-6.19-rc1.directory.locking' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-29/+12
2025-11-25btrfs: remaining BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-24/+13
2025-11-25btrfs: don't search back for dir inode item in INO_LOOKUP_USERJosef Bacik1-20/+3
2025-11-25btrfs: don't rewrite ret from inode_permissionJosef Bacik1-3/+1
2025-11-24btrfs: enable encoded read/write/send for bs > ps casesQu Wenruo1-21/+0
2025-11-24btrfs: apply the AUTO_K(V)FREE macros throughout the codeMiquel Sabaté Solà1-25/+16
2025-11-24btrfs: declare free_ipath() via DEFINE_FREE()Miquel Sabaté Solà1-2/+1
2025-11-24btrfs: implement shutdown ioctlQu Wenruo1-0/+41
2025-11-24btrfs: introduce a new shutdown stateQu Wenruo1-0/+3
2025-11-14VFS: change vfs_mkdir() to unlock on failure.NeilBrown1-1/+1
2025-11-14VFS: add start_creating_killable() and start_removing_killable()NeilBrown1-29/+12
2025-11-03io_uring/uring_cmd: avoid double indirect call in task work dispatchCaleb Sander Mateos1-2/+3
2025-10-16Merge tag 'for-6.18-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2025-10-13btrfs: fix memory leak on duplicated memory in the qgroup assign ioctlMiquel Sabaté Solà1-1/+1
2025-10-02Merge tag 'for-6.18/io_uring-20250929' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-09-23btrfs: add unlikely annotations to branches leading to transaction abortDavid Sterba1-8/+8
2025-09-23btrfs: add unlikely annotations to branches leading to EUCLEANDavid Sterba1-3/+3
2025-09-23btrfs: enable experimental bs > ps supportQu Wenruo1-10/+25
2025-09-23btrfs: fix typos in comments and stringsDavid Sterba1-1/+1
2025-09-23io_uring/cmd: drop unused res2 param from io_uring_cmd_done()Caleb Sander Mateos1-1/+1
2025-09-22btrfs: convert several int parameters to boolDavid Sterba1-5/+5
2025-07-28Merge tag 'for-6.17/io_uring-20250728' of git://git.kernel.dk/linuxLinus Torvalds1-11/+27
2025-07-28Merge tag 'vfs-6.17-rc1.fileattr' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2025-07-22btrfs: defrag: add flag to force no-compressionDavid Sterba1-2/+8
2025-07-22btrfs: set search_commit_root to false in iterate_inodes_from_logical()Filipe Manana1-9/+1
2025-07-22btrfs: qgroup: use btrfs_qgroup_enabled() in ioctlsFilipe Manana1-20/+4
2025-07-22btrfs: call bdev_fput() to reclaim the blk_holder immediatelyQu Wenruo1-2/+2
2025-07-22btrfs: don't skip accounting in early ENOTTY return in btrfs_uring_encoded_re...Caleb Sander Mateos1-1/+2
2025-07-22btrfs: pass bool to indicate subvolume/snapshot creation typeDavid Sterba1-2/+2
2025-07-22btrfs: pass dentry to btrfs_mksubvol() and btrfs_mksnapshot()David Sterba1-6/+6
2025-07-22btrfs: use struct qstr for subvolume ioctl helpersDavid Sterba1-15/+12
2025-07-22btrfs: replace strcpy() with strscpy()Brahmajit Das1-1/+1
2025-07-21btrfs: use pgoff_t for page index variablesDavid Sterba1-1/+1
2025-07-21btrfs: add btrfs prefix to is_fstree() and make it return boolFilipe Manana1-2/+2
2025-07-21btrfs: rename error to ret in btrfs_mksubvol()David Sterba1-14/+13
2025-07-21btrfs: rename error to ret in btrfs_may_delete()David Sterba1-4/+4
2025-07-21btrfs: switch RCU helper versions to btrfs_info()David Sterba1-1/+1
2025-07-18btrfs/ioctl: store btrfs_uring_encoded_data in io_btrfs_cmdCaleb Sander Mateos1-11/+27
2025-07-04tree-wide: s/struct fileattr/struct file_kattr/gChristian Brauner1-2/+2
2025-07-03Merge tag 'for-6.16-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2025-06-27btrfs: record new subvolume in parent dir earlier to avoid dir logging racesFilipe Manana1-2/+2
2025-06-23Merge tag 'for-6.16-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2025-06-19btrfs: scrub: add prefix for the error messagesAnand Jain1-1/+1
2025-05-26Merge tag 'for-6.16-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-9/+9
2025-05-26Merge tag 'vfs-6.16-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-6/+3
2025-05-15btrfs: trivial conversion to return bool instead of intDavid Sterba1-5/+5
2025-05-15btrfs: add btrfs prefix to main lock, try lock and unlock extent functionsFilipe Manana1-4/+4
2025-04-07VFS: improve interface for lookup_one functionsNeilBrown1-6/+3
2025-04-01btrfs: ioctl: don't free iov when btrfs_encoded_read() returns -EAGAINSidong Yang1-0/+2
2025-03-18btrfs: simplify the return value handling in search_ioctl()Sun YangKai1-9/+8
2025-03-18btrfs: make btrfs_iget() return a btrfs inode insteadFilipe Manana1-3/+4
2025-03-18btrfs: unify inode variable namingDavid Sterba1-50/+48
2025-03-18btrfs: pass struct to btrfs_ioctl_subvol_getflags()David Sterba1-5/+5
2025-03-18btrfs: simplify local variables in btrfs_ioctl_resize()David Sterba1-5/+6
2025-03-18btrfs: pass struct btrfs_inode to btrfs_sync_inode_flags_to_i_flags()David Sterba1-10/+9
2025-03-18btrfs: pass root pointers to search tree ioctl helpersDavid Sterba1-11/+11
2025-03-18btrfs: pass btrfs_root pointers to send ioctl parametersDavid Sterba1-4/+4
2025-03-18btrfs: parameter constification in ioctl.cDavid Sterba1-14/+14
2025-03-18btrfs: pass struct btrfs_inode to btrfs_defrag_file()David Sterba1-1/+1
2025-03-18btrfs: unify ordering of btrfs_key initializationsDavid Sterba1-2/+2
2025-03-18btrfs: expose per-inode stable writes flagQu Wenruo1-0/+1
2025-01-23Merge tag 'fsnotify_hsm_for_v6.14-rc1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+9
2025-01-13btrfs: add io_uring interface for encoded writesMark Harmstone1-0/+128
2025-01-13btrfs: ioctl: remove unnecessary call to btrfs_mark_buffer_dirty()Filipe Manana1-1/+0
2025-01-13btrfs: move btrfs_is_empty_uuid() from ioctl.c into fs.cFilipe Manana1-11/+0
2025-01-13btrfs: move the exclusive operation functions into fs.cFilipe Manana1-80/+0
2025-01-13btrfs: handle FS_IOC_READ_VERITY_METADATA ioctlAllison Karlitskaya1-0/+2
2025-01-09Merge tag 'for-6.13-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-57/+65
2025-01-06btrfs: don't read from userspace twice in btrfs_uring_encoded_read()Mark Harmstone1-57/+65
2024-12-11btrfs: disable defrag on pre-content watched filesJosef Bacik1-0/+9
2024-12-03Merge tag 'for-6.13-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+10
2024-11-29btrfs: fix lockdep warnings on io_uring encoded readsMark Harmstone1-0/+10
2024-11-18Merge tag 'for-6.13-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-8/+470
2024-11-11btrfs: simplify logic to decrement snapshot counter at btrfs_mksnapshot()Filipe Manana1-4/+1
2024-11-11btrfs: add new ioctl to wait for cleaned subvolumesDavid Sterba1-0/+128
2024-11-11btrfs: add struct io_btrfs_cmd as type for io_uring_cmd_to_pdu()Mark Harmstone1-2/+8
2024-11-11btrfs: add io_uring command for encoded reads (ENCODED_READ ioctl)Mark Harmstone1-0/+302
2024-11-11btrfs: change btrfs_encoded_read() so that reading of extent is done by callerMark Harmstone1-1/+31
2024-11-11btrfs: drop unused parameter argp from btrfs_ioctl_quota_rescan_wait()David Sterba1-3/+2
2024-11-03fdget(), trivial conversionsAl Viro1-3/+2
2024-09-23Merge tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2024-09-10btrfs: always update fstrim_range on failure in FITRIM ioctlLuca Stefani1-3/+1
2024-09-10btrfs: directly wake up cleaner kthread in the BTRFS_IOC_SYNC ioctlFilipe Manana1-4/+3
2024-08-12introduce fd_file(), convert all accessors to it.Al Viro1-2/+2
2024-07-17Merge tag 'for-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-25/+69
2024-07-11btrfs: pass a btrfs_inode to btrfs_set_prop()David Sterba1-4/+4
2024-07-11btrfs: switch btrfs_pending_snapshot::dir to btrfs_inodeDavid Sterba1-1/+1
2024-07-11btrfs: pass a btrfs_inode to btrfs_ioctl_send()David Sterba1-3/+3
2024-07-11btrfs: qgroup: warn about inconsistent qgroups when relation update failsDavid Sterba1-2/+3
2024-07-11btrfs: qgroup: preallocate memory before adding a relationDavid Sterba1-1/+16
2024-07-11btrfs: do not BUG_ON() when freeing tree block after errorFilipe Manana1-1/+5
2024-07-11btrfs: remove super block argument from btrfs_iget()Filipe Manana1-2/+1
2024-07-11btrfs: avoid transaction commit on any fsync after subvolume creationFilipe Manana1-2/+2
2024-07-11btrfs: remove pointless code when creating and deleting a subvolumeFilipe Manana1-3/+0
2024-07-11btrfs: constify pointer parameters where applicableDavid Sterba1-1/+1
2024-07-11btrfs: simplify range parameters of btrfs_wait_ordered_roots()David Sterba1-1/+1
2024-07-11btrfs: remove objectid from struct btrfs_inode on 64 bits platformsFilipe Manana1-2/+2
2024-07-11btrfs: remove location key from struct btrfs_inodeFilipe Manana1-4/+4
2024-07-11btrfs: qgroup: do quick checks if quotas are enabled before starting ioctlsDavid Sterba1-0/+28
2024-06-20fs: Initial atomic write supportPrasad Singamsetty1-1/+1
2024-05-07btrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-10/+10
2024-05-07btrfs: rename err to ret in btrfs_ioctl_snap_destroy()Anand Jain1-33/+33
2024-05-02Merge tag 'for-6.9-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+30
2024-04-25btrfs: take the cleaner_mutex earlier in qgroup disableJosef Bacik1-3/+30
2024-04-08Merge tag 'for-6.9-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-9/+28
2024-04-02btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operationsBoris Burkov1-9/+28
2024-03-12Merge tag 'for-6.9-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-47/+73
2024-03-11Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-8/+8
2024-03-05btrfs: qgroup: validate btrfs_qgroup_inherit parameterQu Wenruo1-13/+3
2024-03-04btrfs: factor out validation of btrfs_ioctl_vol_args_v2::nameDavid Sterba1-3/+17
2024-03-04btrfs: factor out validation of btrfs_ioctl_vol_args::nameDavid Sterba1-5/+29
2024-03-04btrfs: add helper to get fs_info from struct inode pointerDavid Sterba1-20/+20
2024-03-04btrfs: handle directory and dentry mismatch in btrfs_may_delete()David Sterba1-1/+3
2024-03-04btrfs: remove unused included headersDavid Sterba1-4/+0
2024-03-04btrfs: replace sb::s_blocksize by fs_info::sectorsizeDavid Sterba1-1/+1
2024-03-01Merge tag 'for-6.8-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2024-02-29btrfs: fix double free of anonymous device after snapshot creation failureFilipe Manana1-1/+1
2024-02-25btrfs: port device access to fileChristian Brauner1-8/+8
2024-02-07Merge tag 'for-6.8-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+5
2024-01-31btrfs: forbid creating subvol qgroupsBoris Burkov1-0/+5
2024-01-22Merge tag 'for-6.8-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+7
2024-01-12btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_argsQu Wenruo1-0/+4
2024-01-12btrfs: don't abort filesystem when attempting to snapshot deleted subvolumeOmar Sandoval1-0/+3
2024-01-08Merge tag 'vfs-6.8.rw' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfsLinus Torvalds1-6/+6
2023-12-17Merge tag 'for-6.7-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+9
2023-12-15btrfs: do not allow non subvolume root targets for snapshotJosef Bacik1-0/+9
2023-11-28Merge tag 'for-6.7-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2023-11-24btrfs: fix 64bit compat send ioctl arguments not initializing version memberDavid Sterba1-0/+1
2023-11-24btrfs: move file_start_write() to after permission hookAmir Goldstein1-6/+6
2023-11-13Merge tag 'for-6.7-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+5
2023-11-03btrfs: use u64 for buffer sizes in the tree search ioctlsFilipe Manana1-5/+5
2023-10-30Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-8/+15
2023-10-28btrfs: Convert to bdev_open_by_path()Jan Kara1-10/+8
2023-10-12btrfs: disable the device add feature for temp-fsidAnand Jain1-0/+6
2023-10-12btrfs: add and use helpers for reading and writing last_trans_committedFilipe Manana1-1/+1
2023-10-12btrfs: add and use helpers for reading and writing fs_info->generationFilipe Manana1-1/+1
2023-10-12btrfs: remove redundant root argument from btrfs_update_inode()Filipe Manana1-1/+1
2023-10-12btrfs: qgroup: track metadata relocation COW with simple quotaBoris Burkov1-1/+1
2023-10-12btrfs: qgroup: simple quota auto hierarchy for nested subvolumesBoris Burkov1-1/+1
2023-10-12btrfs: qgroup: add new quota mode for simple quotasBoris Burkov1-1/+2
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-2/+2
2023-10-06Merge tag 'for-6.6-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2023-10-04btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.cJosef Bacik1-2/+2
2023-09-12Merge tag 'for-6.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+7
2023-09-08btrfs: release path before inode lookup during the ino lookup ioctlFilipe Manana1-1/+7
2023-07-13btrfs: convert to ctime accessor functionsJeff Layton1-1/+1
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-6/+6
2023-06-19btrfs: trigger orphan inode cleanup during START_SYNC ioctlQu Wenruo1-0/+7
2023-06-19btrfs: simplify transid initialization in btrfs_ioctl_wait_syncTom Rix1-5/+4
2023-06-19btrfs: don't commit transaction for every subvol createSweet Tea Dorminy1-4/+3
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-6/+6
2023-04-28btrfs: fix assertion of exclop condition when starting balancexiaoshoukui1-1/+3
2023-04-17btrfs: scrub: reject unsupported scrub flagsQu Wenruo1-0/+5
2023-04-02Merge tag 'for-6.3-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+2
2023-03-28btrfs: fix race between quota disable and quota assign ioctlsFilipe Manana1-0/+2
2023-03-10Merge tag 'for-6.3-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2023-03-06btrfs: ioctl: return device fsid from DEV_INFO ioctlQu Wenruo1-0/+1
2023-02-20Merge tag 'for-6.3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-1/+1
2023-02-15btrfs: rename btrfs_clean_tree_block to btrfs_clear_buffer_dirtyJosef Bacik1-1/+1
2023-02-15btrfs: add trans argument to btrfs_clean_tree_blockJosef Bacik1-1/+1
2023-01-19fs: port privilege checking helpers to mnt_idmapChristian Brauner1-2/+1
2023-01-19fs: port inode_owner_or_capable() to mnt_idmapChristian Brauner1-7/+6
2023-01-19fs: port inode_init_owner() to mnt_idmapChristian Brauner1-4/+3
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-24/+27
2023-01-19fs: port ->fileattr_set() to pass mnt_idmapChristian Brauner1-1/+1
2022-12-12Merge tag 'for-6.2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-919/+26
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-12-05btrfs: replace strncpy() with strscpy()Artem Chernyshev1-6/+3
2022-12-05btrfs: use btrfs_dev_name() helper to handle missing devices betterQu Wenruo1-2/+2
2022-12-05btrfs: pass btrfs_inode to btrfs_delete_subvolumeDavid Sterba1-1/+1
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_unlockDavid Sterba1-3/+3
2022-12-05btrfs: pass btrfs_inode to btrfs_inode_lockDavid Sterba1-1/+1
2022-12-05btrfs: move super prototypes into super.hJosef Bacik1-0/+1
2022-12-05btrfs: move scrub prototypes into scrub.hJosef Bacik1-0/+1
2022-12-05btrfs: move file prototypes to file.hJosef Bacik1-0/+1
2022-12-05btrfs: move ioctl prototypes into ioctl.hJosef Bacik1-0/+1
2022-12-05btrfs: move uuid tree prototypes to uuid-tree.hJosef Bacik1-0/+1
2022-12-05btrfs: move dir-item prototypes into dir-item.hJosef Bacik1-0/+1
2022-12-05btrfs: move defrag related prototypes to their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move the file defrag code into defrag.cJosef Bacik1-902/+0
2022-12-05btrfs: update function commentsDavid Sterba1-1/+1
2022-12-05btrfs: move root tree prototypes to their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move extent-tree helpers into their own header fileJosef Bacik1-0/+1
2022-12-05btrfs: use struct fscrypt_str instead of struct qstrSweet Tea Dorminy1-2/+2
2022-12-05btrfs: use struct qstr instead of name and namelen pairsSweet Tea Dorminy1-3/+4
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-12-05btrfs: move fs wide helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: simplify generation check in btrfs_get_dentryDavid Sterba1-1/+1
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-11-15btrfs: free btrfs_path before copying subvol info to userspaceAnand Jain1-0/+2
2022-11-15btrfs: free btrfs_path before copying fspath to userspaceAnand Jain1-0/+2
2022-11-15btrfs: free btrfs_path before copying inodes to userspaceAnand Jain1-9/+7
2022-11-15btrfs: free btrfs_path before copying root refs to userspaceJosef Bacik1-1/+2
2022-09-26btrfs: replace delete argument with EXTENT_CLEAR_ALL_BITSJosef Bacik1-1/+1
2022-09-26btrfs: unify the lock/unlock extent variantsJosef Bacik1-11/+11
2022-09-26btrfs: remove the wake argument from clear_extent_bitsJosef Bacik1-1/+1
2022-07-25btrfs: use fs_info->max_extent_size in get_extent_max_capacity()Naohiro Aota1-4/+7
2022-07-25btrfs: sink iterator parameter to btrfs_ioctl_logical_to_inoDavid Sterba1-21/+1