OSDN Git Service

sysv: fix handling of delete_entry and set_link failures
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Jan 2023 01:05:43 +0000 (20:05 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Jan 2023 04:24:42 +0000 (23:24 -0500)
commitabb7c742397324f8676c5b622effdce911cd52e3
tree7ed6e6848e00b5e2d5f1e826b3752374f2a44933
parent83005276d383387fec7e18c7a36daade579a23a7
sysv: fix handling of delete_entry and set_link failures

similar to minixfs series - make sysv_set_link() report failures,
lift dir_put_page() into the callers of sysv_set_link() and
sysv_delete_entry(), make sysv_rename() handle failures in both.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/sysv/dir.c
fs/sysv/namei.c
fs/sysv/sysv.h