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

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

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Joern Engel <joern@logfs.org>
CC: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/logfs/inode.c