Searched hist:"2 ed2d5b33cb564025b1eb90650d70a0a3592c0e3" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | acl.h | diff 2ed2d5b33cb564025b1eb90650d70a0a3592c0e3 Sun Oct 27 23:17:54 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: fix a deadlock during init_acl procedure
The deadlock is found through the following scenario.
sys_mkdir() -> f2fs_add_link() -> __f2fs_add_link() -> init_inode_metadata() : lock_page(inode); -> f2fs_init_acl() -> f2fs_set_acl() -> f2fs_setxattr(..., NULL) : This NULL page incurs a deadlock at update_inode_page().
So, likewise f2fs_init_security(), this patch adds a parameter to transfer the locked inode page to f2fs_setxattr().
Found by Linux File System Verification project (linuxtesting.org).
Reported-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | acl.c | diff 2ed2d5b33cb564025b1eb90650d70a0a3592c0e3 Sun Oct 27 23:17:54 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: fix a deadlock during init_acl procedure
The deadlock is found through the following scenario.
sys_mkdir() -> f2fs_add_link() -> __f2fs_add_link() -> init_inode_metadata() : lock_page(inode); -> f2fs_init_acl() -> f2fs_set_acl() -> f2fs_setxattr(..., NULL) : This NULL page incurs a deadlock at update_inode_page().
So, likewise f2fs_init_security(), this patch adds a parameter to transfer the locked inode page to f2fs_setxattr().
Found by Linux File System Verification project (linuxtesting.org).
Reported-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | dir.c | diff 2ed2d5b33cb564025b1eb90650d70a0a3592c0e3 Sun Oct 27 23:17:54 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: fix a deadlock during init_acl procedure
The deadlock is found through the following scenario.
sys_mkdir() -> f2fs_add_link() -> __f2fs_add_link() -> init_inode_metadata() : lock_page(inode); -> f2fs_init_acl() -> f2fs_set_acl() -> f2fs_setxattr(..., NULL) : This NULL page incurs a deadlock at update_inode_page().
So, likewise f2fs_init_security(), this patch adds a parameter to transfer the locked inode page to f2fs_setxattr().
Found by Linux File System Verification project (linuxtesting.org).
Reported-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|