filesystems: add missing nlink wrappers
Replace direct i_nlink updates with the respective updater function (inc_nlink, drop_nlink, clear_nlink, inode_dec_link_count). Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This commit is contained in:

committed by
Christoph Hellwig

parent
dd2a981f46
commit
6d6b77f163
@@ -341,7 +341,7 @@ cg_found:
|
||||
|
||||
fail_remove_inode:
|
||||
unlock_super(sb);
|
||||
inode->i_nlink = 0;
|
||||
clear_nlink(inode);
|
||||
iput(inode);
|
||||
UFSD("EXIT (FAILED): err %d\n", err);
|
||||
return ERR_PTR(err);
|
||||
|
Reference in New Issue
Block a user