android_kernel_xiaomi_sm8350/fs/minix
Dave Hansen 9a53c3a783 [PATCH] r/o bind mounts: unlink: monitor i_nlink
When a filesystem decrements i_nlink to zero, it means that a write must be
performed in order to drop the inode from the filesystem.

We're shortly going to have keep filesystems from being remounted r/o between
the time that this i_nlink decrement and that write occurs.

So, add a little helper function to do the decrements.  We'll tie into it in a
bit to note when i_nlink hits zero.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-01 00:39:30 -07:00
..
bitmap.c [PATCH] inode-diet: Eliminate i_blksize from the inode structure 2006-09-27 08:26:18 -07:00
dir.c [PATCH] read_mapping_page for address space 2006-06-23 07:43:02 -07:00
file.c [PATCH] Streamline generic_file_* interfaces and filemap cleanups 2006-10-01 00:39:28 -07:00
inode.c [PATCH] inode-diet: Eliminate i_blksize from the inode structure 2006-09-27 08:26:18 -07:00
itree_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
itree_v1.c [PATCH] fix messages in fs/minix 2006-03-25 08:22:56 -08:00
itree_v2.c [PATCH] fix messages in fs/minix 2006-03-25 08:22:56 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
minix.h [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
namei.c [PATCH] r/o bind mounts: unlink: monitor i_nlink 2006-10-01 00:39:30 -07:00