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:
Miklos Szeredi
2011-10-28 14:13:28 +02:00
committed by Christoph Hellwig
parent dd2a981f46
commit 6d6b77f163
32 changed files with 55 additions and 58 deletions
+1 -1
View File
@@ -1833,7 +1833,7 @@ retry:
if (err) {
out_clear_inode:
inode->i_nlink = 0;
clear_nlink(inode);
unlock_new_inode(inode);
ext3_mark_inode_dirty(handle, inode);
iput (inode);