aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-02Revert "gfs2: Use GL_NOBLOCK flag for non-blocking lookups"Andreas Gruenbacher1-4/+4
2023-12-18gfs2: Use GL_NOBLOCK flag for non-blocking lookupsAbhi Das1-4/+4
2023-11-07Merge tag 'gfs2-v6.6-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-12/+21
2023-11-06gfs2: Silence "suspicious RCU usage in gfs2_permission" warningAndreas Gruenbacher1-3/+4
2023-11-06gfs2: Rename gfs2_lookup_{ simple => meta }Andreas Gruenbacher1-6/+7
2023-11-06gfs2: Get rid of gfs2_alloc_blocks generation parameterAndreas Gruenbacher1-1/+1
2023-10-23gfs2: setattr_chown: Add missing initializationAndreas Gruenbacher1-1/+1
2023-10-18gfs2: convert to new timestamp accessorsJeff Layton1-3/+4
2023-10-03gfs2: fix an oops in gfs2_permissionAl Viro1-2/+9
2023-09-22gfs2: Get rid of the gfs2_glock_is_held_* helpersAndreas Gruenbacher1-1/+1
2023-09-05Merge tag 'gfs2-v6.5-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-4/+10
2023-09-05gfs2: Use mapping->gfp_mask for metadata inodesAndreas Gruenbacher1-4/+10
2023-08-11fs: drop the timespec64 argument from update_timeJeff Layton1-2/+1
2023-08-09fs: drop the timespec64 arg from generic_update_timeJeff Layton1-1/+2
2023-08-09fs: pass the request_mask to generic_fillattrJeff Layton1-1/+1
2023-07-24gfs2: convert to ctime accessor functionsJeff Layton1-4/+4
2023-03-27gfs2: Remove ghs[] from gfs2_unlinkAndrew Price1-13/+13
2023-03-27gfs2: Remove ghs[] from gfs2_linkAndrew Price1-9/+9
2023-03-27gfs2: Remove duplicate i_nlink check from gfs2_link()Andrew Price1-3/+0
2023-02-22Merge tag 'gfs2-v6.2-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+8
2023-01-27gfs2: gl_object races fixAndreas Gruenbacher1-0/+8
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-12/+12
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->rename() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->mknod() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->mkdir() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->symlink() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->create() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner1-3/+3
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-4/+4
2022-12-17Merge tag 'gfs2-v6.1-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-27/+37
2022-12-06gfs2: Add gfs2_inode_lookup commentAndreas Gruenbacher1-0/+5
2022-12-05gfs2: Handle -EBUSY result of insert_inode_locked4Andreas Gruenbacher1-1/+5
2022-12-02gfs2: Fix and clean up create / evict interactionAndreas Gruenbacher1-14/+12
2022-12-02gfs2: Clean up initialization of "ip" in gfs2_create_inodeAndreas Gruenbacher1-2/+2
2022-12-02gfs2: Get rid of ghs[] in gfs2_create_inodeAndreas Gruenbacher1-10/+10
2022-12-02gfs2: Add extra error check in alloc_dinodeAndreas Gruenbacher1-1/+4
2022-10-20fs: rename current get acl methodChristian Brauner1-2/+2
2022-10-19fs: pass dentry to set acl methodChristian Brauner1-1/+1
2022-10-09gfs2: Merge branch 'for-next.nopid' into for-nextAndreas Gruenbacher1-2/+3
2022-08-25gfs2: Use TRY lock in gfs2_inode_lookup for UNLINKED inodesBob Peterson1-2/+8
2022-06-29gfs2: Mark the remaining process-independent glock holders as GL_NOPIDAndreas Gruenbacher1-2/+4
2022-02-15gfs2: Switch lock order of inode and iopen glockAndreas Gruenbacher1-22/+27
2022-02-15gfs2: gfs2_setattr_size error path fixAndreas Gruenbacher1-1/+1
2021-12-02gfs2: gfs2_create_inode reworkAndreas Gruenbacher1-6/+10
2021-12-02gfs2: gfs2_inode_lookup reworkAndreas Gruenbacher1-51/+33
2021-12-02gfs2: gfs2_inode_lookup cleanupAndreas Gruenbacher1-7/+2
2021-10-25gfs2: set glock object after nqBob Peterson1-2/+2
2021-10-25gfs2: Eliminate GIF_INVALID flagBob Peterson1-1/+0
2021-10-25gfs2: fix GL_SKIP node_scope problemsBob Peterson1-1/+2
2021-10-25gfs2: dequeue iopen holder in gfs2_inode_lookup errorBob Peterson1-0/+4
2021-08-13gfs2: Switch to may_setattr in gfs2_setattrAndreas Gruenbacher1-2/+2
2021-04-29Merge tag 'gfs2-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/gf...Linus Torvalds1-17/+15
2021-04-20gfs2: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+2
2021-04-12gfs2: convert to fileattrMiklos Szeredi1-0/+4
2021-04-09gfs2: Fix a number of kernel-doc warningsLee Jones1-16/+12
2021-04-08gfs2: Make gfs2_setattr_simple staticAndreas Gruenbacher1-1/+1
2021-02-27Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2021-02-23Merge tag 'gfs2-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/gf...Linus Torvalds1-3/+3
2021-02-23whack-a-mole: don't open-code iminor/imajorAl Viro1-2/+2
2021-02-17gfs2: Use resource group glock sharingBob Peterson1-3/+3
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-21/+32
2021-01-24stat: handle idmapped mountsChristian Brauner1-1/+1
2021-01-24acl: handle idmapped mountsChristian Brauner1-1/+2
2021-01-24attr: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-01Revert "GFS2: Prevent delete work from occurring on glocks used for create"Andreas Gruenbacher1-5/+1
2020-12-01gfs2: Make inode operations staticAndreas Gruenbacher1-3/+7
2020-12-01gfs2: Fix deadlock between gfs2_{create_inode,inode_lookup} and delete_work_funcAndreas Gruenbacher1-10/+11
2020-11-26gfs2: Upgrade shared glocks for atime updatesAndreas Gruenbacher1-0/+21
2020-11-02gfs2: Don't call cancel_delayed_work_sync from within delete work functionAndreas Gruenbacher1-1/+2
2020-06-30gfs2: Don't return NULL from gfs2_inode_lookupAndreas Gruenbacher1-1/+2
2020-06-08Merge tag 'gfs2-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs...Linus Torvalds1-11/+36
2020-06-05Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+1
2020-06-05Merge branch 'gfs2-iopen' into for-nextAndreas Gruenbacher1-10/+34
2020-06-05gfs2: Move inode generation number check into gfs2_inode_lookupAndreas Gruenbacher1-9/+24
2020-06-05gfs2: Minor gfs2_lookup_by_inum cleanupAndreas Gruenbacher1-2/+9
2020-06-05gfs2: Turn gl_delete into a delayed workAndreas Gruenbacher1-0/+2
2020-06-03fs: move the fiemap definitions out of fs.hChristoph Hellwig1-0/+1
2020-06-02gfs2: Only do glock put in gfs2_create_inode for free inodesBob Peterson1-1/+2
2020-05-08gfs2: Fix problems regarding gfs2_qa_get and _putBob Peterson1-3/+4
2020-03-31Merge tag 'gfs2-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs...Linus Torvalds1-26/+27
2020-03-27gfs2: Split gfs2_rsqa_delete into gfs2_rs_delete and gfs2_qa_putAndreas Gruenbacher1-1/+2
2020-03-27gfs2: Change inode qa_data to allow multiple usersBob Peterson1-13/+19
2020-03-27gfs2: eliminate gfs2_rsqa_alloc in favor of gfs2_qa_allocBob Peterson1-6/+6
2020-03-27gfs2: Clean up inode initialization and teardownAndreas Gruenbacher1-12/+6
2020-03-12gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcacheAl Viro1-1/+1
2020-01-15gfs2: Avoid access time thrashing in gfs2_inode_lookupAndreas Gruenbacher1-5/+5
2019-11-21gfs2: Remove duplicate call from gfs2_create_inodeAndreas Gruenbacher1-1/+0
2019-11-19gfs2: clean up iopen glock mess in gfs2_create_inodeBob Peterson1-6/+7
2019-10-30gfs2: removed unnecessary semicolonAliasgar Surti1-1/+1
2019-09-04gfs2: Use async glocks for renameBob Peterson1-11/+23
2019-09-04gfs2: separate holder for rgrps in gfs2_renameBob Peterson1-8/+21
2019-06-27gfs2: Use IS_ERR_OR_NULLKefeng Wang1-1/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 398Thomas Gleixner1-4/+1
2018-12-11gfs2: Get rid of potential double-freeing in gfs2_create_inodeAndreas Gruenbacher1-9/+9
2018-07-12get rid of 'opened' argument of ->atomic_open() - part 3Al Viro1-2/+1
2018-07-12getting rid of 'opened' argument of ->atomic_open() - part 2Al Viro1-10/+9
2018-07-12getting rid of 'opened' argument of ->atomic_open() - part 1Al Viro1-3/+3
2018-07-12introduce FMODE_CREATED and switch to itAl Viro1-1/+1
2018-07-12switch all remaining checks for FILE_OPENED to FMODE_OPENEDAl Viro1-1/+1
2018-06-04gfs2: Iomap cleanups and improvementsAndreas Gruenbacher1-4/+0
2018-03-08gfs2: Dirty source inode during renameAndreas Gruenbacher1-9/+1
2018-01-29GFS2: Don't try to end a non-existent transaction in unlinkBob Peterson1-3/+2
2018-01-18gfs2: Add gfs2_max_stuffed_sizeAndreas Gruenbacher1-4/+2
2017-10-31gfs2: Add support for statx inode flagsAndreas Gruenbacher1-0/+14
2017-10-31gfs2: Implement SEEK_HOLE / SEEK_DATA via iomapAndreas Gruenbacher1-0/+38
2017-10-31GFS2: Switch fiemap implementation to use iomapBob Peterson1-25/+9
2017-09-25gfs2: Support negative atimesAndreas Gruenbacher1-1/+2
2017-08-09gfs2: Fix trivial typosAndreas Gruenbacher1-1/+1
2017-08-09GFS2: Clear gl_object if gfs2_create_inode failsBob Peterson1-1/+4
2017-07-21GFS2: Set gl_object in inode lookup only after block type checkBob Peterson1-2/+2
2017-07-21GFS2: Introduce helper for clearing gl_objectBob Peterson1-2/+2
2017-07-19gfs2: Fixup to "Get rid of flush_delayed_work in gfs2_evict_inode"Andreas Gruenbacher1-2/+2
2017-07-05gfs2: gfs2_create_inode: Keep glock across iputAndreas Gruenbacher1-1/+3
2017-07-05gfs2: Protect gl->gl_object by spin lockAndreas Gruenbacher1-4/+4
2017-07-05gfs2: Get rid of flush_delayed_work in gfs2_evict_inodeAndreas Gruenbacher1-3/+4
2017-04-03Revert "GFS2: Wait for iopen glock dequeues"Andreas Gruenbacher1-2/+1
2017-03-16GFS2: Temporarily zero i_no_addr when creating a dinodeBob Peterson1-0/+1
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+6
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-5/+6
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-09vfs: remove ".readlink = generic_readlink" assignmentsMiklos Szeredi1-1/+0
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+5
2016-10-10Merge remote-tracking branch 'ovl/rename2' into for-linusAl Viro1-1/+1
2016-10-10Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-9/+0
2016-10-10Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher1-9/+0
2016-10-04Merge tag 'gfs2-4.8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-0/+4
2016-09-27fs: Replace CURRENT_TIME with current_time() for inode timestampsDeepa Dinamani1-4/+4
2016-09-27fs: rename "rename2" i_op to "rename"Miklos Szeredi1-1/+1
2016-09-26gfs2: Initialize atime of I_NEW inodesAndreas Gruenbacher1-0/+4
2016-09-22fs: Give dentry to inode_change_ok() instead of inodeJan Kara1-1/+1
2016-08-07fs: return EPERM on immutable inodeEryu Guan1-1/+1
2016-07-24Merge tag 'gfs2-4.7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-43/+85
2016-07-05Use the right predicate in ->atomic_open() instancesAl Viro1-1/+1
2016-06-27gfs2: Lock holder cleanupAndreas Gruenbacher1-18/+15
2016-06-27gfs2: Large-filesystem fix for 32-bit systemsAndreas Gruenbacher1-2/+17
2016-06-27gfs2: Get rid of gfs2_ilookupAndreas Gruenbacher1-15/+0
2016-06-27gfs2: Fix gfs2_lookup_by_inum lock inversionAndreas Gruenbacher1-28/+73
2016-05-20Merge tag 'gfs2-4.7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-3/+3
2016-05-12gfs2: Switch to generic xattr handlersAl Viro1-71/+11
2016-04-14GFS2: Don't dereference inode in gfs2_inode_lookup until it's validBob Peterson1-3/+3
2016-04-11->getxattr(): pass dentry and inode as separate argumentsAl Viro1-5/+4
2016-03-17Merge tag 'gfs2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-59/+12
2016-03-15GFS2: Eliminate parameter non_block on gfs2_inode_lookupBob Peterson1-3/+2
2016-03-15GFS2: Don't filter out I_FREEING inodes anymoreBob Peterson1-55/+4
2016-03-15GFS2: Prevent delete work from occurring on glocks used for createBob Peterson1-1/+6
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2016-01-12Merge tag 'gfs2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-25/+23
2015-12-30switch ->get_link() to delayed_call, kill ->put_link()Al Viro1-4/+4
2015-12-18GFS2: Don't do glock put on when inode creation failsBob Peterson1-1/+0
2015-12-18GFS2: Release iopen glock in gfs2_create_inode error casesBob Peterson1-9/+7
2015-12-18GFS2: Wait for iopen glock dequeuesBob Peterson1-1/+2
2015-12-14GFS2: Make rgrp reservations part of the gfs2_inode structureBob Peterson1-5/+0
2015-12-08replace ->follow_link() with new method that could stay in RCU modeAl Viro1-5/+10
2015-11-24GFS2: Extract quota data from reservations structure (revert 5407e24)Bob Peterson1-9/+9
2015-11-10gfs2: Automatically set GFS2_DIF_SYSTEM flag on system filesAbhi Das1-0/+5
2015-06-27Merge tag 'gfs2-merge-window' of git://git.kernel.org:/pub/scm/linux/kernel/g...Linus Torvalds1-19/+192
2015-06-02gfs2: fix quota updates on block boundariesAbhi Das1-1/+1
2015-05-10don't pass nameidata to ->follow_link()Al Viro1-1/+1
2015-05-10new ->follow_link() and ->put_link() calling conventionsAl Viro1-5/+5
2015-05-05GFS2: add support for rename2 and RENAME_EXCHANGEBenjamin Marzinski1-16/+189
2015-05-01GFS2: inode.c: indent with TABs, not spacesAntonio Ospite1-2/+2
2015-04-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-17/+17
2015-04-15VFS: normal filesystems (and lustre): d_inode() annotationsDavid Howells1-17/+17
2015-03-18gfs2: perform quota checks against allocation parametersAbhi Das1-8/+10
2015-01-26GFS2: Eliminate a nonsense gotoBob Peterson1-3/+0
2014-11-20GFS2: gfs2_atomic_open(): simplify the use of finish_no_open()Al Viro1-5/+2
2014-11-20GFS2: gfs2_create_inode(): don't bother with d_splice_alias()Al Viro1-14/+4
2014-11-20GFS2: bugger off early if O_CREAT open finds a directoryAl Viro1-0/+5
2014-11-17GFS2: update freeze code to use freeze/thaw_super on all nodesBenjamin Marzinski1-30/+10
2014-11-03GFS2: directly return gfs2_dir_check()Fabian Frederick1-5/+1
2014-10-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+5
2014-10-09gfs2_atomic_open(): skip lookups on hashed dentryAl Viro1-0/+5
2014-10-01GFS2: Make rename not save dirent locationBob Peterson1-3/+3
2014-09-19GFS2: fix bad inode i_goal values during block allocationAbhi Das1-0/+1
2014-09-12GFS2: fix d_splice_alias() misusesAl Viro1-2/+3
2014-09-11GFS2: Hash the negative dentry during inode lookupBenjamin Coddington1-1/+3
2014-05-14GFS2: remove transaction glockBenjamin Marzinski1-10/+30
2014-03-31GFS2: Fix uninitialized VFS inode in gfs2_create_inodeAbhi Das1-5/+6
2014-03-19GFS2: Remove extraneous function gfs2_security_initBob Peterson1-8/+2
2014-03-12GFS2: check NULL return value in gfs2_ok_to_moveAbhi Das1-0/+4
2014-02-04GFS2: Allocate block for xattr at inode alloc time, if requiredSteven Whitehouse1-7/+43
2014-01-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-6/+28
2014-01-25gfs2: use generic posix ACL infrastructureChristoph Hellwig1-6/+28
2014-01-18GFS2: revert "GFS2: d_splice_alias() can't return error"J. Bruce Fields1-0/+8
2014-01-16GFS2: Don't use ENOBUFS when ENOMEM is the correct error codeSteven Whitehouse1-1/+1
2014-01-07GFS2: Increase i_writecount during gfs2_setattr_chownBob Peterson1-1/+15
2014-01-06GFS2: Remember directory insert pointSteven Whitehouse1-5/+8
2014-01-06GFS2: Consolidate transaction blocks calculation for dir addSteven Whitehouse1-12/+26
2014-01-06GFS2: Add directory addition info structureSteven Whitehouse1-29/+28
2013-11-21GFS2: Fix ref count bug relating to atomic_openSteven Whitehouse1-1/+4
2013-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-8/+1
2013-11-11Merge tag 'gfs2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-18/+26
2013-10-24new helper: kfree_put_link()Al Viro1-8/+1
2013-10-02GFS2: Add allocation parameters structureSteven Whitehouse1-4/+8
2013-09-27GFS2: Clean up reservation removalSteven Whitehouse1-1/+1
2013-09-23GFS2: fix dentry leaksMiklos Szeredi1-10/+16