Al Viro
8f2e09ce72
BACKPORT: new inode method: ->free_inode()
...
A lot of ->destroy_inode() instances end with call_rcu() of a callback
that does RCU-delayed part of freeing. Introduce a new method for
doing just that, with saner signature.
Rules:
->destroy_inode ->free_inode
f g immediate call of f(),
RCU-delayed call of g()
f NULL immediate call of f(),
no RCU-delayed calls
NULL g RCU-delayed call of g()
NULL NULL RCU-delayed default freeing
IOW, NULL ->free_inode gives the same behaviour as now.
Note that NULL, NULL is equivalent to NULL, free_inode_nonrcu; we could
mandate the latter form, but that would have very little benefit beyond
making rules a bit more symmetric. It would break backwards compatibility,
require extra boilerplate and expected semantics for (NULL, NULL) pair
would have no use whatsoever...
Change-Id: I828dd519b381a1f25013ec3d1eae0b6835eb9c26
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:57:41 +07:00
..
caching
cifs
Documentation: fix common spelling mistakes
2016-04-28 07:51:59 -06:00
configfs
configfs: switch ->default groups to a linked list
2016-03-06 16:11:24 +01:00
nfs
Various bugfixes, a RDMA update from Chuck Lever, and support for a new
2016-03-24 19:50:32 -07:00
pohmelfs
Documentation: fix common spelling mistakes
2016-04-28 07:51:59 -06:00
00-INDEX
Doc: update 00-INDEX files to reflect the runnable code move
2016-10-10 07:12:09 -06:00
9p.txt
adfs.txt
affs.txt
affs: fix basic permission bits to actually work
2020-09-12 11:47:39 +02:00
afs.txt
autofs4-mount-control.txt
autofs: update struct autofs_dev_ioctl in Documentation
2016-10-11 15:06:31 -07:00
autofs4.txt
autofs: fix typos in Documentation/filesystems/autofs4.txt
2016-10-11 15:06:31 -07:00
automount-support.txt
befs.txt
bfs.txt
btrfs.txt
Documentation: btrfs: remove usage specific information
2016-03-11 17:02:09 +01:00
ceph.txt
ceph: fix description for rsize and rasize mount options
2016-10-03 16:13:50 +02:00
coda.txt
cramfs.txt
mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usage
2016-04-04 10:41:08 -07:00
dax.txt
dax : Fix documentation with respect to struct pages
2016-10-01 00:52:18 -06:00
debugfs.txt
debugfs: Pass bool pointer to debugfs_create_bool()
2015-10-04 11:36:07 +01:00
devpts.txt
devpts: Make each mount of devpts an independent filesystem.
2016-06-05 10:36:01 -07:00
directory-locking
vfs: remove unused i_op->rename
2016-09-27 11:03:58 +02:00
dlmfs.txt
dnotify.txt
ecryptfs.txt
efivarfs.txt
efi: Make efivarfs entries immutable by default
2016-02-10 16:25:52 +00:00
exofs.txt
ext2.txt
fs: Remove ext3 filesystem driver
2015-07-23 20:59:40 +02:00
ext3.txt
fs: Remove ext3 filesystem driver
2015-07-23 20:59:40 +02:00
ext4.txt
ext4: correct documentation for grpid mount option
2018-02-22 15:43:48 +01:00
f2fs.txt
f2fs: delete duplicate information on sysfs nodes
2020-01-28 10:38:09 -08:00
fiemap.txt
files.txt
fscrypt.rst
fscrypt: document testing with xfstests
2019-08-30 09:55:22 -07:00
fuse.txt
gfs2-glocks.txt
gfs2: Remove gl_spin define
2015-10-29 12:57:48 -05:00
gfs2-uevents.txt
gfs2.txt
hfs.txt
hfsplus.txt
hpfs.txt
inotify.txt
isofs.txt
jfs.txt
Locking
BACKPORT: new inode method: ->free_inode()
2026-05-15 17:57:41 +07:00
locks.txt
logfs.txt
mandatory-locking.txt
locks: print a warning when mount fails due to lack of "mand" support
2021-08-26 08:37:29 -04:00
ncpfs.txt
nilfs2.txt
nilfs2: move ioctl interface and disk layout to uapi separately
2016-08-02 19:35:21 -04:00
ntfs.txt
ocfs2-online-filecheck.txt
Doc: ocfs: Fix typo in filesystems/ocfs2-online-filecheck.txt
2016-07-01 16:17:15 -06:00
ocfs2.txt
omfs.txt
orangefs.txt
Orangefs: update orangefs.txt
2016-08-02 15:39:14 -04:00
overlayfs.txt
ANDROID: overlayfs: override_creds=off option bypass creator_cred
2019-03-05 21:50:18 +00:00
path-lookup.md
Documentation: add new description of path-name lookup.
2015-11-02 18:18:25 -07:00
path-lookup.txt
Documentation: add new description of path-name lookup.
2015-11-02 18:18:25 -07:00
porting
BACKPORT: new inode method: ->free_inode()
2026-05-15 17:57:41 +07:00
proc.txt
Merge android-4.9.155 ( 32e6695) into msm-4.9
2019-02-12 16:32:37 +08:00
qnx6.txt
Documentation: fix common spelling mistakes
2016-04-28 07:51:59 -06:00
quota.txt
quota: Update documentation
2015-05-18 11:23:07 +02:00
ramfs-rootfs-initramfs.txt
relay.txt
romfs.txt
seq_file.txt
sharedsubtree.txt
doc: fix grammar
2016-03-09 15:33:06 -07:00
spufs.txt
squashfs.txt
sysfs-pci.txt
sysfs-tagging.txt
sysfs-tagging.txt: fix pre-kernfs references
2015-09-13 14:38:51 -06:00
sysfs.txt
sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
2021-03-07 11:25:58 +01:00
sysv-fs.txt
tmpfs.txt
Documenation: update cgroup's document path
2016-08-03 15:43:58 -06:00
ubifs.txt
udf.txt
ufs.txt
vfat.txt
fat: add config option to set UTF-8 mount option by default
2016-03-22 15:36:02 -07:00
vfs.txt
statx: Add a system call to make enhanced file info available
2025-07-10 14:15:39 -04:00
xfs-delayed-logging-design.txt
xfs-self-describing-metadata.txt
xfs.txt
xfs: Document error handlers behavior
2016-09-19 09:38:25 +10:00