Skip to content
Commit 97f044f6 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: don't increment nlink in link()



The fuse_iget() call in create_new_entry() already updated the inode with
all the new attributes and incremented the attribute version.

Incrementing the nlink will result in the wrong count.  This wasn't noticed
because the attributes were invalidated right after this.

Updating ctime is still needed for the writeback case when the ctime is not
refreshed.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent cefd1b83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment