mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -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
|
|
@ -53,7 +53,7 @@ void hpfs_read_inode(struct inode *i)
|
|||
i->i_mode &= ~0111;
|
||||
i->i_op = &hpfs_file_iops;
|
||||
i->i_fop = &hpfs_file_ops;
|
||||
i->i_nlink = 0;*/
|
||||
clear_nlink(i);*/
|
||||
make_bad_inode(i);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue