android_kernel_xiaomi_sdm845/fs/ufs
Evgeniy Dushistov 2061df0f89 [PATCH] ufs: ufs_trunc_indirect: infinite cycle
Currently, ufs write support have two sets of problems: work with files and
work with directories.

This series of patches should solve the first problem.

This patch is similar to http://lkml.org/lkml/2006/1/17/61 this patch
complements it.

The situation the same: in ufs_trunc_(not direct), we read block, check if
count of links to it is equal to one, if so we finish cycle, if not
continue.  Because of "count of links" always >=2 this operation cause
infinite cycle and hang up the kernel.

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:01:01 -07:00
..
balloc.c [PATCH] ufs cleanup 2006-01-14 10:27:32 -08:00
cylinder.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dir.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
file.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
ialloc.c [PATCH] ufs cleanup 2006-01-14 10:27:32 -08:00
inode.c [PATCH] ufs: fix hang during `rm' 2006-02-03 08:32:04 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c [PATCH] ufs: switch to inode_inc_count, inode_dec_count 2006-03-23 07:38:16 -08:00
super.c [PATCH] VFS: Permit filesystem to perform statfs with a known root dentry 2006-06-23 07:42:45 -07:00
swab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
symlink.c [PATCH] Fix up symlink function pointers 2005-08-19 18:08:21 -07:00
truncate.c [PATCH] ufs: ufs_trunc_indirect: infinite cycle 2006-06-25 10:01:01 -07:00
util.c [PATCH] ufs: ufs_trunc_indirect: infinite cycle 2006-06-25 10:01:01 -07:00
util.h [PATCH] ufs: ufs_trunc_indirect: infinite cycle 2006-06-25 10:01:01 -07:00