]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
GFS2: Fix nlink setting on inode creation
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 11 Jan 2012 12:35:05 +0000 (12:35 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 11 Jan 2012 12:35:05 +0000 (12:35 +0000)
commit66ad863b410efb7f537719006f9ac52400c1a5c5
tree17db44f069274b4f42805c8fabdea841e4153737
parent376d37788b56bc2800e5bd56b7a36b3544d89f97
GFS2: Fix nlink setting on inode creation

Since the nlink count will be 0, we need to use set_nlink rather
than inc_nlink in order to avoid triggering the inc_nlink warning
which was added recently.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c