mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
dd2a981f46
commit
6d6b77f163
32 changed files with 55 additions and 58 deletions
|
|
@ -354,7 +354,7 @@ struct inode *nilfs_new_inode(struct inode *dir, int mode)
|
|||
|
||||
failed_acl:
|
||||
failed_bmap:
|
||||
inode->i_nlink = 0;
|
||||
clear_nlink(inode);
|
||||
iput(inode); /* raw_inode will be deleted through
|
||||
generic_delete_inode() */
|
||||
goto failed;
|
||||
|
|
|
|||
Loading…
Reference in a new issue