aboutsummaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/util.c
AgeCommit message (Expand)AuthorFilesLines
10 daysMerge tag 'vfs-6.19-rc1.ovl' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-14/+4
10 daysMerge tag 'vfs-6.19-rc1.directory.locking' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-11/+0
11 daysMerge tag 'vfs-6.19-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+5
14 daysovl: fail ovl_lock_rename_workdir() if either target is unhashedNeilBrown1-2/+2
2025-11-19ovl: remove ovl_revert_creds()Christian Brauner1-5/+0
2025-11-19ovl: port ovl_nlink_end() to cred guardChristian Brauner1-5/+2
2025-11-19ovl: port ovl_nlink_start() to cred guardChristian Brauner1-4/+2
2025-11-14VFS/ovl/smb: introduce start_renaming_dentry()NeilBrown1-11/+0
2025-10-20overlayfs: use the new ->i_state accessorsMateusz Guzik1-5/+5
2025-10-03Merge tag 'pull-f_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-4/+4
2025-09-23ovl: Support mounting case-insensitive enabled layersAndré Almeida1-3/+3
2025-09-15ovl_get_verity_digest(): constify path argumentAl Viro1-1/+1
2025-09-15ovl_validate_verity(): constify {meta,data}path argumentsAl Viro1-2/+2
2025-09-15ovl_ensure_verity_loaded(): constify datapath argumentAl Viro1-1/+1
2025-08-18ovl: fix possible double unlinkAmir Goldstein1-1/+2
2025-07-28Merge tag 'vfs-6.17-rc1.fileattr' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2025-07-18ovl: rename ovl_cleanup_unlocked() to ovl_cleanup()NeilBrown1-1/+1
2025-07-18ovl: change ovl_cleanup_and_whiteout() to take rename lock as neededNeilBrown1-10/+2
2025-07-18ovl: narrow locking in ovl_cleanup_index()NeilBrown1-8/+8
2025-07-18ovl: Call ovl_create_temp() without lock held.NeilBrown1-1/+6
2025-07-18ovl: simplify an error path in ovl_copy_up_workdir()NeilBrown1-0/+10
2025-07-18ovl: support layers on case-folding capable filesystemsAmir Goldstein1-4/+11
2025-07-04tree-wide: s/struct fileattr/struct file_kattr/gChristian Brauner1-1/+1
2025-06-16VFS: change old_dir and new_dir in struct renamedata to dentrysNeilBrown1-1/+1
2025-05-05ovl: Replace offsetof() with struct_size() in ovl_stack_free()Thorsten Blum1-2/+3
2025-04-30ovl: Check for NULL d_inode() in ovl_dentry_upper()Kees Cook1-1/+3
2024-12-02tree-wide: s/revert_creds_light()/revert_creds()/gChristian Brauner1-1/+1
2024-12-02tree-wide: s/override_creds_light()/override_creds()/gChristian Brauner1-1/+1
2024-11-20ovl: Filter invalid inodes with missing lookup functionVasiliy Kovalev1-0/+3
2024-11-15ovl: Optimize override/revert credsVinicius Costa Gomes1-2/+2
2024-11-11ovl: use wrapper ovl_revert_creds()Vinicius Costa Gomes1-2/+7
2024-04-15kernel_file_open(): get rid of inode argumentAl Viro1-1/+1
2024-03-11Merge tag 'vfs-6.9.uuid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-7/+11
2024-02-08ovl: convert to super_set_uuid()Kent Overstreet1-7/+11
2024-01-23ovl: mark xwhiteouts directory with overlay.opaque='x'Amir Goldstein1-22/+31
2024-01-11Merge tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+6
2023-11-25rename(): avoid a deadlock in the case of parents having no common ancestorAl Viro1-1/+6
2023-11-20ovl: remove redundant ofs->indexdir memberAmir Goldstein1-1/+1
2023-11-14ovl: fix misformatted commentAmir Goldstein1-1/+1
2023-11-07Merge tag 'vfs-6.7.fsid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-10-31ovl: Add an alternative type of whiteoutAlexander Larsson1-0/+40
2023-10-31ovl: do not encode lower fh with upper sb_writers heldAmir Goldstein1-1/+10
2023-10-31ovl: do not open/llseek lower file with upper sb_writers heldAmir Goldstein1-2/+6
2023-10-31ovl: reorder ovl_want_write() after ovl_inode_lock()Amir Goldstein1-7/+27
2023-10-31ovl: split ovl_want_write() into two helpersAmir Goldstein1-0/+26
2023-10-31ovl: protect copying of realinode attributes to ovl inodeAmir Goldstein1-0/+2
2023-10-24exportfs: add helpers to check if filesystem can encode/decode file handlesAmir Goldstein1-1/+1
2023-10-18overlayfs: convert to new timestamp accessorsJeff Layton1-2/+2
2023-08-30Merge tag 'ovl-update-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/o...Linus Torvalds1-12/+221
2023-08-12ovl: make consistent use of OVL_FS()Andrea Righi1-8/+8
2023-08-12ovl: auto generate uuid for new overlay filesystemsAmir Goldstein1-0/+22
2023-08-12ovl: store persistent uuid/fsid with uuid=onAmir Goldstein1-0/+39
2023-08-12ovl: Handle verity during copy-upAlexander Larsson1-1/+32
2023-08-12ovl: Validate verity xattr when resolving lowerdataAlexander Larsson1-0/+88
2023-08-12ovl: Add versioned header for overlay.metacopy xattrAlexander Larsson1-4/+33
2023-07-24overlayfs: convert to ctime accessor functionsJeff Layton1-1/+1
2023-06-19ovl: store enum redirect_mode in config instead of a stringAmir Goldstein1-7/+0
2023-06-19ovl: implement lazy lookup of lowerdata in data-only layersAmir Goldstein1-1/+30
2023-06-19ovl: prepare for lazy lookup of lowerdata inodeAmir Goldstein1-1/+1
2023-06-19ovl: prepare to store lowerdata redirect for lazy lowerdata lookupAmir Goldstein1-3/+10
2023-06-19ovl: deduplicate lowerdata and lowerstack[]Amir Goldstein1-8/+7
2023-06-19ovl: deduplicate lowerpath and lowerstack[]Amir Goldstein1-4/+6
2023-06-19ovl: move ovl_entry into ovl_inodeAmir Goldstein1-4/+4
2023-06-19ovl: factor out ovl_free_entry() and ovl_stack_*() helpersAmir Goldstein1-0/+34
2023-06-19ovl: use ovl_numlower() and ovl_lowerstack() accessorsAmir Goldstein1-16/+20
2023-06-19ovl: use OVL_E() and OVL_E_FLAGS() accessorsAmir Goldstein1-10/+10
2023-06-19ovl: update of dentry revalidate flags after copy upAmir Goldstein1-4/+20
2023-06-19ovl: let helper ovl_i_path_real() return the realinodeZhihao Cheng1-3/+4
2023-01-19fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmapChristian Brauner1-4/+4
2023-01-19fs: port inode_owner_or_capable() to mnt_idmapChristian Brauner1-2/+1
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-2/+3
2022-12-08ovl: use inode instead of dentry where possibleMiklos Szeredi1-4/+2
2022-12-08ovl: port to vfs{g,u}id_t and associated helpersChristian Brauner1-2/+7
2022-09-01overlayfs: constify pathAl Viro1-5/+5
2022-04-28ovl: handle idmappings in layer open helpersChristian Brauner1-2/+3
2022-04-28ovl: use ovl_copy_{real,upper}attr() wrappersChristian Brauner1-1/+31
2022-04-28ovl: store lower path in ovl_inodeAmir Goldstein1-1/+14
2022-04-28ovl: use ovl_path_getxattr() wrapperChristian Brauner1-15/+14
2022-04-28ovl: use ovl_lookup_upper() wrapperChristian Brauner1-1/+1
2022-04-28ovl: pass layer mnt to ovl_open_realfile()Amir Goldstein1-0/+14
2022-04-28ovl: pass ofs to creation operationsChristian Brauner1-1/+1
2022-04-28ovl: use wrappers to all vfs_*xattr() callsAmir Goldstein1-8/+8
2021-08-17ovl: consistent behavior for immutable/append-only inodesAmir Goldstein1-0/+85
2021-08-17ovl: pass ovl_fs to ovl_check_setxattr()Amir Goldstein1-4/+3
2021-04-12ovl: invalidate readdir cache on changes to dir with originAmir Goldstein1-22/+9
2021-04-12ovl: fix misspellings using codespell toolXiong Zhenwu1-1/+1
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2021-01-28ovl: implement volatile-specific fsync error behaviourSargun Dhillon1-0/+27
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-1/+1
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-14ovl: do not get metacopy for userxattrMiklos Szeredi1-0/+7
2020-12-14ovl: user xattrMiklos Szeredi1-2/+3
2020-12-14ovl: check privs before decoding file handleMiklos Szeredi1-0/+3
2020-11-12ovl: propagate ovl_fs to ovl_decode_real_fh and ovl_encode_real_fhPavel Tikhomirov1-1/+2
2020-09-02ovl: enumerate private xattrsMiklos Szeredi1-5/+26
2020-09-02ovl: pass ovl_fs down to functions accessing private xattrsMiklos Szeredi1-10/+12
2020-09-02ovl: drop flags argument from ovl_do_setxattr()Miklos Szeredi1-1/+1
2020-09-02ovl: use ovl_do_getxattr() for private xattrMiklos Szeredi1-5/+5
2020-09-02ovl: fold ovl_getxattr() into ovl_get_redirect_xattr()Miklos Szeredi1-36/+17
2020-09-02duplicate ovl_getxattr()Miklos Szeredi1-2/+2
2020-06-04ovl: add accessor for ofs->upper_mntMiklos Szeredi1-3/+3
2020-06-02ovl: verify permissions in ovl_path_open()Miklos Szeredi1-1/+26
2020-05-13ovl: whiteout inode sharingChengguang Xu1-1/+2
2020-03-17ovl: allow remote upperMiklos Szeredi1-0/+2
2020-03-17ovl: decide if revalidate needed on a per-dentry basisMiklos Szeredi1-0/+15
2020-03-17ovl: separate detection of remote upper layer from stacked overlayMiklos Szeredi1-2/+1
2020-03-17ovl: simplify i_ino initializationAmir Goldstein1-18/+0
2020-03-17ovl: fix out of date comment and unreachable codeAmir Goldstein1-2/+0
2020-03-12ovl: fix lock in ovl_llseek()Amir Goldstein1-2/+2
2020-01-24ovl: layer is constMiklos Szeredi1-1/+1
2020-01-24ovl: simplify ovl_same_sb() helperAmir Goldstein1-12/+0
2020-01-22ovl: use pr_fmt auto generate prefixlijiazi1-7/+7
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-05-29ovl: detect overlapping layersAmir Goldstein1-0/+12
2019-02-13ovl: Do not lose security.capability xattr over metadata file copy-upVivek Goyal1-20/+35
2018-10-26ovl: abstract ovl_inode lock with a helperAmir Goldstein1-12/+13
2018-10-26ovl: remove the 'locked' argument of ovl_nlink_{start,end}Amir Goldstein1-16/+12
2018-10-26ovl: relax requirement for non null uuid of lower fsAmir Goldstein1-2/+1
2018-09-24ovl: fix memory leak on unlink of indexed fileAmir Goldstein1-1/+2
2018-07-20ovl: Check redirect on index as wellVivek Goyal1-0/+50
2018-07-20ovl: Do not set dentry type ORIGIN for broken hardlinksVivek Goyal1-1/+2
2018-07-20ovl: Treat metacopy dentries as type OVL_PATH_MERGEVivek Goyal1-1/+2
2018-07-20ovl: Add helper ovl_inode_realdata()Vivek Goyal1-0/+12
2018-07-20ovl: Store lower data inode in ovl_inodeVivek Goyal1-1/+11
2018-07-20ovl: Fix ovl_getattr() to get number of blocks from lowerVivek Goyal1-0/+16
2018-07-20ovl: Add helper ovl_dentry_lowerdata() to get lower data dentryVivek Goyal1-0/+13
2018-07-20ovl: Copy up meta inode data from lowest data inodeVivek Goyal1-0/+12
2018-07-20ovl: Modify ovl_lookup() and friends to lookup metacopy dentryVivek Goyal1-0/+22
2018-07-20ovl: A new xattr OVL_XATTR_METACOPY for file on upperVivek Goyal1-4/+74
2018-07-20ovl: Add helper ovl_already_copied_up()Vivek Goyal1-1/+25
2018-07-18ovl: copy up inode flagsMiklos Szeredi1-0/+1
2018-07-18ovl: copy up timesMiklos Szeredi1-1/+9
2018-04-12ovl: constant st_ino for non-samefs with xinoAmir Goldstein1-3/+14
2018-04-12ovl: allocate anon bdev per unique lower fsAmir Goldstein1-1/+6
2018-04-12ovl: factor out ovl_map_dev_ino() helperAmir Goldstein1-0/+7
2018-04-12ovl: set i_ino to the value of st_ino for NFS exportAmir Goldstein1-1/+7
2018-01-24ovl: store 'has_upper' and 'opaque' as bit flagsAmir Goldstein1-11/+19
2018-01-24ovl: copy up of disconnected dentriesAmir Goldstein1-3/+4
2018-01-24ovl: whiteout index when union nlink drops to zeroAmir Goldstein1-6/+11
2018-01-24ovl: cleanup dir index when dir nlink drops to zeroAmir Goldstein1-3/+3
2018-01-24ovl: index directories on copy up for NFS exportAmir Goldstein1-1/+1
2018-01-24ovl: index all non-dir on copy up for NFS exportAmir Goldstein1-0/+4
2018-01-24ovl: create ovl_need_index() helperAmir Goldstein1-4/+20
2018-01-24ovl: add support for "nfs_export" configurationAmir Goldstein1-0/+16
2018-01-19ovl: hash directory inodes for fsnotifyAmir Goldstein1-2/+2
2017-11-09ovl: re-structure overlay lower layers in-memoryChandan Rajendra1-1/+6
2017-11-09ovl: move include of ovl_entry.h into overlayfs.hAmir Goldstein1-1/+0
2017-11-09ovl: no direct iteration for dir with origin xattrAmir Goldstein1-0/+13
2017-10-05ovl: fix missing unlock_rename() in ovl_do_copy_up()Amir Goldstein1-0/+19
2017-10-05ovl: fix dput() of ERR_PTR in ovl_cleanup_index()Amir Goldstein1-1/+4
2017-07-27ovl: constant d_ino for non-merge dirsMiklos Szeredi1-6/+18
2017-07-20ovl: fix xattr get and set with selinuxMiklos Szeredi1-1/+6
2017-07-04ovl: cleanup orphan index entriesAmir Goldstein1-1/+65
2017-07-04ovl: persistent overlay inode nlink for indexed inodesAmir Goldstein1-0/+66
2017-07-04ovl: implement index dir copy upAmir Goldstein1-1/+1
2017-07-04ovl: add flag for upper in ovl_entryMiklos Szeredi1-0/+19
2017-07-04ovl: defer upper dir lock to tempfile linkAmir Goldstein1-1/+0
2017-07-04ovl: hash overlay non-dir inodes by copy up originMiklos Szeredi1-2/+1
2017-07-04ovl: introduce the inodes index dir featureAmir Goldstein1-0/+15
2017-07-04vfs: introduce inode 'inuse' lockAmir Goldstein1-0/+31
2017-07-04ovl: move cache and version to ovl_inodeMiklos Szeredi1-12/+8
2017-07-04ovl: use ovl_inode mutex to synchronize concurrent copy upAmir Goldstein1-17/+6
2017-07-04ovl: move impure to ovl_inodeMiklos Szeredi1-10/+12
2017-07-04ovl: move redirect to ovl_inodeMiklos Szeredi1-6/+4
2017-07-04ovl: move __upperdentry to ovl_inodeMiklos Szeredi1-57/+32
2017-07-04ovl: use i_private only as a keyMiklos Szeredi1-6/+29
2017-07-04ovl: simplify getting inodeMiklos Szeredi1-1/+6
2017-05-29ovl: mark upper merge dir with type origin entries "impure"Amir Goldstein1-7/+35
2017-05-19ovl: mark upper dir with type origin entries "impure"Amir Goldstein1-0/+14
2017-05-19ovl: handle rename when upper doesn't support xattrAmir Goldstein1-8/+1
2017-05-18ovl: check on mount time if upper fs supports setting xattrAmir Goldstein1-0/+21
2017-05-10Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+14
2017-05-05ovl: set the ORIGIN type flagAmir Goldstein1-4/+6
2017-05-05ovl: check if all layers are on the same fsAmir Goldstein1-0/+7
2017-04-20ovl: Use designated initializersKees Cook1-1/+1
2017-03-08overlayfs: remove now unnecessary header file includeLinus Torvalds1-1/+0
2017-03-03Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+31
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2017-02-07ovl: introduce copy up waitqueueAmir Goldstein1-0/+30
2016-12-16ovl: opaque cleanupMiklos Szeredi1-2/+3
2016-12-16ovl: redirect on rename-dirMiklos Szeredi1-0/+29
2016-12-16ovl: split super.cMiklos Szeredi1-0/+235