ocfs2: remove unnecessary nlink setting
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 28 Oct 2011 12:13:26 +0000 (14:13 +0200)
committerChristoph Hellwig <hch@serles.lst.de>
Wed, 2 Nov 2011 11:53:42 +0000 (12:53 +0100)
commita7732b05f775a5575baac34c03bb0e8d16950edf
tree9b0311f5004a98afbb46a65a57a665b13e613e23
parentc818b682c955aa4d13212512deb529cb8bd1348b
ocfs2: remove unnecessary nlink setting

alloc_inode() initializes i_nlink to 1.  Remove unnecessary
re-initialization.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Joel Becker <jlbec@evilplan.org>
CC: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/ocfs2/namei.c