aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_ioctl.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-05xfs: use super write guard in xfs_file_ioctl()Christian Brauner1-4/+2
2025-08-28xfs: implement XFS_IOC_DIOINFO in terms of vfs_getattrChristoph Hellwig1-9/+9
2025-08-28xfs: allow setting file attributes on special filesAndrey Albershteyn1-6/+0
2025-08-11xfs: remove XFS_IBULK_SAME_AGChristoph Hellwig1-1/+1
2025-07-28Merge tag 'vfs-6.17-rc1.fileattr' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-9/+9
2025-07-24fs/xfs: replace strncpy with memtostr_pad()Pranav Tyagi1-2/+1
2025-07-04tree-wide: s/struct fileattr/struct file_kattr/gChristian Brauner1-9/+9
2025-03-03xfs: support reserved blocks for the rt extent counterChristoph Hellwig1-3/+3
2025-03-03xfs: generalize the freespace and reserved blocks handlingChristoph Hellwig1-3/+3
2025-01-23Merge tag 'xfs-merge-6.14' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-6/+15
2025-01-09xfs: report larger dio alignment for COW inodesChristoph Hellwig1-1/+10
2024-12-23xfs: apply rt extent alignment constraints to CoW extsize hintDarrick J. Wong1-2/+15
2024-12-23xfs: allow inodes to have the realtime and reflink flagsDarrick J. Wong1-4/+0
2024-11-21Merge tag 'xfs-6.13-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-1/+45
2024-11-18Merge tag 'pull-fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-48/+21
2024-11-05xfs: export the geometry of realtime groups to userspaceDarrick J. Wong1-0/+35
2024-11-05xfs: update realtime super every time we update the primary fs superDarrick J. Wong1-1/+3
2024-11-05xfs: allow bulkstat to return metadata directoriesDarrick J. Wong1-0/+7
2024-11-03fdget(), more trivial conversionsAl Viro1-48/+21
2024-10-30xfs: Check for delayed allocations before setting extsizeOjaswin Mujoo1-2/+2
2024-09-23Merge tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-14/+14
2024-09-01xfs: move xfs_ioc_getfsmap out of xfs_ioctl.cDarrick J. Wong1-130/+0
2024-09-01xfs: introduce new file range commit ioctlsDarrick J. Wong1-0/+4
2024-08-14xfs: conditionally allow FS_XFLAG_REALTIME changes if S_DAX is setDarrick J. Wong1-0/+11
2024-08-12introduce fd_file(), convert all accessors to it.Al Viro1-14/+14
2024-07-02xfs: hoist inode flag conversion functions to libxfsDarrick J. Wong1-60/+0
2024-04-23xfs: introduce vectored scrub modeDarrick J. Wong1-0/+2
2024-04-23xfs: move xfs_ioc_scrub_metadata to scrub.cDarrick J. Wong1-24/+0
2024-04-23xfs: add parent pointer ioctlsDarrick J. Wong1-1/+5
2024-04-23xfs: move handle ioctl code to xfs_handle.cDarrick J. Wong1-591/+1
2024-04-23xfs: pass the attr value to put_listent when possibleAllison Henderson1-0/+1
2024-04-23xfs: make attr removal an explicit operationDarrick J. Wong1-3/+6
2024-04-23xfs: remove xfs_da_args.attr_flagsDarrick J. Wong1-8/+6
2024-04-15xfs: introduce new file range exchange ioctlDarrick J. Wong1-0/+4
2024-04-15xfs: declare xfs_file.c symbols in xfs_file.hDarrick J. Wong1-0/+1
2024-02-20xfs: use kvfree in xfs_ioc_getfsmap()Dave Chinner1-1/+1
2024-02-20xfs: use kvfree() in xfs_ioc_attr_list()Dave Chinner1-1/+1
2024-02-19xfs: use kvfree for buf in xfs_ioc_getbmapChristoph Hellwig1-1/+1
2024-02-13xfs: convert remaining kmem_free() to kfree()Dave Chinner1-3/+3
2024-02-13xfs: convert kmem_free() for kvmalloc users to kvfree()Dave Chinner1-1/+1
2023-12-07xfs: clean up the xfs_reserve_blocks interfaceChristoph Hellwig1-7/+6
2023-12-07xfs: clean up the XFS_IOC_FSCOUNTS handlerChristoph Hellwig1-9/+20
2023-12-07xfs: clean up the XFS_IOC_{GS}ET_RESBLKS handlerChristoph Hellwig1-44/+43
2023-11-20xfs: respect the stable writes flag on the RT deviceChristoph Hellwig1-0/+8
2023-11-20xfs: clean up FS_XFLAG_REALTIME handling in xfs_ioctl_setattr_xflagsChristoph Hellwig1-10/+12
2023-10-17xfs: create a helper to compute leftovers of realtime extentsDarrick J. Wong1-2/+3
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+4
2023-01-19fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port privilege checking helpers to mnt_idmapChristian Brauner1-2/+1
2023-01-19fs: port ->fileattr_set() to pass mnt_idmapChristian Brauner1-1/+2
2023-01-03xfs: get root inode correctly at bulkstatHironori Shiina1-2/+2
2022-12-11xfs: remove restrictions for fsdax and reflinkShiyang Ruan1-4/+0
2022-07-09xfs: convert XFS_IFORK_PTR to a static inline helperDarrick J. Wong1-1/+1
2022-07-07xfs: make last AG grow/shrink perag centricDave Chinner1-1/+7
2022-06-15xfs: preserve DIFLAG2_NREXT64 when setting other inode attributesDarrick J. Wong1-1/+2
2022-05-27xfs: move xfs_attr_use_log_assist usage out of libxfsDarrick J. Wong1-1/+2
2022-05-12xfs: separate out initial attr_set statesDave Chinner1-2/+2
2022-04-13xfs: Enable bulkstat ioctl to support 64-bit per-inode extent countersChandan Babu R1-0/+3
2022-03-09xfs: don't generate selinux audit messages for capability testingDarrick J. Wong1-1/+1
2022-01-31xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP*Darrick J. Wong1-1/+1
2022-01-17xfs: remove the XFS_IOC_{ALLOC,FREE}SP* definitionsDarrick J. Wong1-0/+9
2022-01-17xfs: kill the XFS_IOC_{ALLOC,FREE}SP* ioctlsDarrick J. Wong1-87/+5
2021-12-21xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list()Dan Carpenter1-1/+1
2021-10-20xfs: Use kvcalloc() instead of kvzalloc()Gustavo A. R. Silva1-3/+3
2021-08-19xfs: convert xfs_fs_geometry to use mount feature checksDave Chinner1-1/+1
2021-08-19xfs: replace XFS_FORCED_SHUTDOWN with xfs_is_shutdownDave Chinner1-5/+5
2021-08-19xfs: convert remaining mount flags to state flagsDave Chinner1-3/+3
2021-08-19xfs: convert mount flags to featuresDave Chinner1-3/+2
2021-08-19xfs: replace xfs_sb_version checks with feature flag checksDave Chinner1-4/+4
2021-08-06xfs: remove the active vs running quota differentiationChristoph Hellwig1-1/+1
2021-07-15xfs: don't expose misaligned extszinherit hints to userspaceDarrick J. Wong1-1/+18
2021-07-15xfs: correct the narrative around misaligned rtinherit/extszinherit dirsDarrick J. Wong1-4/+4
2021-07-02Merge tag 'xfs-5.14-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-16/+27
2021-06-28Merge tag 'fallthrough-fixes-clang-5.14-rc1' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+2
2021-06-08xfs: rename struct xfs_eofblocks to xfs_icwalkDarrick J. Wong1-20/+20
2021-06-08xfs: change the prefix of XFS_EOF_FLAGS_* to XFS_ICWALK_FLAG_Darrick J. Wong1-1/+12
2021-05-26xfs: Fix fall-through warnings for ClangGustavo A. R. Silva1-2/+2
2021-05-24xfs: validate extsz hints against rt extent size when rtinherit is setDarrick J. Wong1-0/+15
2021-05-24xfs: standardize extent size hint validationDarrick J. Wong1-69/+21
2021-04-29Merge tag 'xfs-5.13-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-34/+35
2021-04-15xfs: remove XFS_IFEXTENTSChristoph Hellwig1-1/+1
2021-04-12xfs: convert to fileattrMiklos Szeredi1-196/+62
2021-04-09xfs: fix scrub and remount-ro protection when running scrubDarrick J. Wong1-3/+3
2021-04-07xfs: deprecate BMV_IF_NO_DMAPI_READ flagAnthony Iliopoulos1-2/+0
2021-04-07xfs: move the di_flags2 field to struct xfs_inodeChristoph Hellwig1-12/+12
2021-04-07xfs: move the di_flags field to struct xfs_inodeChristoph Hellwig1-4/+4
2021-04-07xfs: use a union for i_cowextsize and i_flushiterChristoph Hellwig1-6/+9
2021-04-07xfs: use XFS_B_TO_FSB in xfs_ioctl_setattrChristoph Hellwig1-2/+2
2021-04-07xfs: cleanup xfs_fill_fsxattrChristoph Hellwig1-2/+4
2021-04-07xfs: move the di_cowextsize field to struct xfs_inodeChristoph Hellwig1-5/+3
2021-04-07xfs: move the di_extsize field to struct xfs_inodeChristoph Hellwig1-5/+5
2021-04-07xfs: move the di_projid field to struct xfs_inodeChristoph Hellwig1-3/+3
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-14/+21
2021-02-03xfs: get rid of xfs_growfs_{data,log}_tGao Xiang1-2/+2
2021-02-03xfs: hide xfs_icache_free_eofblocksDarrick J. Wong1-1/+1
2021-02-03xfs: add a tracepoint for blockgc scansDarrick J. Wong1-0/+2
2021-02-03xfs: rename code to error in xfs_ioctl_setattrDarrick J. Wong1-19/+19
2021-02-03xfs: refactor inode ownership change transaction/inode/quota allocation idiomDarrick J. Wong1-19/+10
2021-01-24xfs: support idmapped mountsChristoph Hellwig1-14/+21
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-1/+1
2021-01-24capability: handle idmapped mountsChristian Brauner1-1/+1
2020-10-07xfs: fix deadlock and streamline xfs_getfsmap performanceDarrick J. Wong1-46/+98
2020-09-15xfs: Remove kmem_zalloc_large()Carlos Maiolino1-2/+2
2020-09-15xfs: widen ondisk inode timestamps to deal with y2038+Darrick J. Wong1-1/+2
2020-07-28fs/xfs: Support that ioctl(SETXFLAGS/GETXFLAGS) can set/get inode DAX on XFS.Xiao Yang1-3/+11
2020-06-11Merge tag 'vfs-5.8-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-88/+20
2020-05-29fs/xfs: Update xfs_ioctl_setattr_dax_invalidate()Ira Weiny1-88/+20
2020-05-29fs/xfs: Combine xfs_diflags_to_linux() and xfs_diflags_to_iflags()Ira Weiny1-32/+1
2020-05-27xfs: move eofblocks conversion function to xfs_ioctl.cDarrick J. Wong1-0/+35
2020-05-19xfs: move the per-fork nextents fields into struct xfs_iforkChristoph Hellwig1-17/+8
2020-05-04fs/xfs: Combine xfs_diflags_to_linux() and xfs_diflags_to_iflags()Ira Weiny1-32/+1
2020-05-04xfs: remove unnecessary variable udqp from xfs_ioctl_setattrKaixu Xia1-5/+2
2020-04-13xfs: acquire superblock freeze protection on eofblocks scansBrian Foster1-1/+4
2020-03-19xfs: remove the di_version field from struct icdinodeChristoph Hellwig1-3/+2
2020-03-19xfs: simplify a check in xfs_ioctl_setattr_check_cowextsizeChristoph Hellwig1-2/+1
2020-03-02xfs: switch xfs_attrmulti_attr_get to lazy attr buffer allocationChristoph Hellwig1-4/+0
2020-03-02xfs: clean up bufsize alignment in xfs_ioc_attr_listChristoph Hellwig1-1/+1
2020-03-02xfs: embedded the attrlist cursor into struct xfs_attr_list_contextChristoph Hellwig1-9/+7
2020-03-02xfs: clean up the attr flag confusionChristoph Hellwig1-12/+32
2020-03-02xfs: improve xfs_forget_aclChristoph Hellwig1-2/+2
2020-03-02xfs: lift cursor copy in/out into xfs_ioc_attr_listChristoph Hellwig1-21/+15
2020-03-02xfs: lift buffer allocation into xfs_ioc_attr_listChristoph Hellwig1-23/+16
2020-03-02xfs: lift common checks into xfs_ioc_attr_listChristoph Hellwig1-11/+12
2020-03-02xfs: rename xfs_attr_list_int to xfs_attr_listChristoph Hellwig1-1/+1
2020-03-02xfs: move the legacy xfs_attr_list to xfs_ioctl.cChristoph Hellwig1-2/+107
2020-03-02xfs: replace ATTR_KERNOTIME with XFS_DA_OP_NOTIMEChristoph Hellwig1-1/+0
2020-03-02xfs: pass an initialized xfs_da_args to xfs_attr_getChristoph Hellwig1-10/+15
2020-03-02xfs: pass an initialized xfs_da_args structure to xfs_attr_setChristoph Hellwig1-8/+14
2020-03-02xfs: factor out a helper for a single XFS_IOC_ATTRMULTI_BY_HANDLE opChristoph Hellwig1-46/+51
2020-03-02xfs: use strndup_user in XFS_IOC_ATTRMULTI_BY_HANDLEChristoph Hellwig1-12/+5
2020-03-02xfs: merge xfs_attrmulti_attr_remove into xfs_attrmulti_attr_setChristoph Hellwig1-24/+10
2020-03-02xfs: merge xfs_attr_remove into xfs_attr_setChristoph Hellwig1-3/+1
2020-03-02xfs: reject invalid flags combinations in XFS_IOC_ATTRLIST_BY_HANDLEChristoph Hellwig1-0/+2
2020-03-02xfs: remove the icdinode di_uid/di_gid membersChristoph Hellwig1-3/+3
2020-01-09xfs: Remove all strlen in all xfs_attr_* functions for attr names.Allison Henderson1-3/+10
2020-01-09xfs: reject invalid flags combinations in XFS_IOC_ATTRMULTI_BY_HANDLEChristoph Hellwig1-0/+5
2020-01-09xfs: clear kernel only flags in XFS_IOC_ATTRMULTI_BY_HANDLEChristoph Hellwig1-0/+2
2019-11-13xfs: remove XFS_IOC_FSSETDM and XFS_IOC_FSSETDM_BY_HANDLEChristoph Hellwig1-94/+0
2019-11-13xfs: merge the projid fields in struct xfs_icdinodeChristoph Hellwig1-4/+4
2019-11-07xfs: fix missing header includesDarrick J. Wong1-0/+1
2019-10-31xfs: properly serialise fallocate against AIO+DIODave Chinner1-0/+1
2019-10-28xfs: disable xfs_ioc_space for always COW inodesChristoph Hellwig1-0/+4
2019-10-28fs: add generic UNRESVSP and ZERO_RANGE ioctl handlersChristoph Hellwig1-60/+12
2019-10-28xfs: don't implement XFS_IOC_RESVSP / XFS_IOC_RESVSP64Christoph Hellwig1-10/+0
2019-10-28xfs: use xfs_inode_buftarg in xfs_file_ioctlChristoph Hellwig1-4/+2
2019-10-28xfs: add a xfs_inode_buftarg helperChristoph Hellwig1-4/+3
2019-09-18Merge tag 'xfs-5.4-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-11/+14
2019-09-03xfs: define a flags field for the AG geometry ioctl structureDarrick J. Wong1-0/+4
2019-08-30xfs: fix the dax supported check in xfs_ioctl_setattr_dax_invalidateChristoph Hellwig1-2/+1
2019-08-30xfs: allocate xattr buffer on demandDave Chinner1-1/+1
2019-08-30kill the last users of user_{path,lpath,path_dir}()Al Viro1-1/+1
2019-08-29xfs: remove all *_ITER_ABORT valuesDarrick J. Wong1-6/+6
2019-08-26fs: xfs: Remove KM_NOSLEEP and KM_SLEEP.Tetsuo Handa1-2/+2
2019-07-12Merge tag 'xfs-5.3-merge-12' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-33/+261
2019-07-06xfs: don't update lastino for FSBULKSTAT_SINGLEDarrick J. Wong1-1/+0
2019-07-04xfs: allow single bulkstat of special inodesDarrick J. Wong1-0/+19
2019-07-04xfs: specify AG in bulk reqDarrick J. Wong1-1/+23
2019-07-03xfs: wire up the v5 inumbers ioctlDarrick J. Wong1-0/+52
2019-07-03xfs: wire up new v5 bulkstat ioctlsDarrick J. Wong1-0/+98
2019-07-03xfs: introduce v5 inode group structureDarrick J. Wong1-3/+6
2019-07-03xfs: introduce new v5 bulkstat structureDarrick J. Wong1-3/+6
2019-07-03xfs: rename bulkstat functionsDarrick J. Wong1-7/+7
2019-07-03xfs: remove various bulk request typedef usageDarrick J. Wong1-1/+1
2019-07-02xfs: refactor INUMBERS to use iwalk functionsDarrick J. Wong1-7/+13
2019-07-02xfs: convert bulkstat to new iwalk infrastructureDarrick J. Wong1-17/+53
2019-07-02xfs: bulkstat should copy lastip whenever userspace supplies oneDarrick J. Wong1-7/+6
2019-07-01vfs: teach vfs_ioc_fssetxattr_check to check extent size hintsDarrick J. Wong1-41/+29
2019-07-01vfs: teach vfs_ioc_fssetxattr_check to check project id infoDarrick J. Wong1-15/+0
2019-07-01vfs: create a generic checking function for FS_IOC_FSSETXATTRDarrick J. Wong1-29/+40
2019-06-28xfs: remove unused header filesEric Sandeen1-9/+0
2019-05-01xfs: change some error-less functions to void typesEric Sandeen1-7/+2
2019-04-23xfs: unlock inode when xfs_ioctl_setattr_get_trans can't get transactionDarrick J. Wong1-1/+1
2019-04-14xfs: report fs and rt health via geometry structureDarrick J. Wong1-1/+4
2019-04-14xfs: add a new ioctl to describe allocation group geometryDarrick J. Wong1-0/+24
2019-04-14xfs: bump XFS_IOC_FSGEOMETRY to v5 structuresDave Chinner1-30/+18
2018-11-06xfs: Fix error code in 'xfs_ioc_getbmap()'Christophe JAILLET1-1/+1
2018-10-18xfs: remove suport for filesystems without unwritten extent flagChristoph Hellwig1-8/+0
2018-06-12Merge tag 'xfs-4.18-merge-10' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-20/+13
2018-06-08Merge tag 'libnvdimm-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-6/+2
2018-06-06xfs: fix string handling in label get/set functionsArnd Bergmann1-5/+5
2018-06-06xfs: convert to SPDX license tagsDave Chinner1-13/+1
2018-06-04xfs: don't forbid setting dax flag on directories if device doesn't daxDarrick J. Wong1-2/+7
2018-05-31dax: change bdev_dax_supported() to support boolean returnsDave Jiang1-2/+2
2018-05-31fs: allow per-device dax status checking for filesystemsDarrick J. Wong1-1/+2
2018-05-22xfs: prepare xfs_break_layouts() for another layout typeDan Williams1-2/+1
2018-05-22xfs: prepare xfs_break_layouts() to be called with XFS_MMAPLOCK_EXCLDan Williams1-4/+1
2018-05-16xfs: implement online get/set fs labelEric Sandeen1-0/+86
2018-01-08xfs: refactor the geometry structure filling functionDarrick J. Wong1-2/+2
2018-01-08xfs: hoist xfs_fs_geometry to libxfsDarrick J. Wong1-0/+1
2017-11-09xfs: remove u_int* type usageDarrick J. Wong1-2/+2
2017-10-26xfs: scrub inodesDarrick J. Wong1-0/+4
2017-10-26xfs: create an ioctl to scrub AG metadataDarrick J. Wong1-0/+28
2017-10-26xfs: simplify the xfs_getbmap interfaceChristoph Hellwig1-63/+59
2017-09-26xfs: validate bdev support for DAX inode flagRoss Zwisler1-1/+2
2017-09-02xfs: don't set v3 xflags for v2 inodesChristoph Hellwig1-13/+25
2017-09-01xfs: disable per-inode DAX flagChristoph Hellwig1-1/+2
2017-06-27xfs: make errortag a per-mountpoint structureDarrick J. Wong1-2/+2
2017-06-19xfs: remove double-underscore integer typesDarrick J. Wong1-10/+10
2017-06-19xfs: remove XFS_HSIZEChristoph Hellwig1-2/+1
2017-04-25xfs: fix getfsmap userspace memory corruption while setting OF_LASTDarrick J. Wong1-1/+1