diff options
author | Omar Sandoval <osandov@fb.com> | 2022-03-09 17:31:37 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:06 +0200 |
commit | c51fa51190f9909c5cb9bbdddb1ad845d6e71a33 (patch) | |
tree | 9af2d6ebf56f841be5401d9b118cdcb60628516f /crypto/tcrypt.c | |
parent | 6d831f7ef9f0cecef7ae1f6f55c5739d6f3b9143 (diff) | |
download | linux-c51fa51190f9909c5cb9bbdddb1ad845d6e71a33.tar.gz linux-c51fa51190f9909c5cb9bbdddb1ad845d6e71a33.tar.bz2 linux-c51fa51190f9909c5cb9bbdddb1ad845d6e71a33.zip |
btrfs: remove unnecessary set_nlink() in btrfs_create_subvol_root()
btrfs_new_inode() already returns an inode with nlink set to 1 (via
inode_init_always()). Get rid of the unnecessary set.
Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions