Unionfs: use igrab instead of atomic_inc inode refcnt
authorErez_Zadok <ezk@cs.sunysb.edu>
Fri, 16 Nov 2007 18:47:05 +0000 (13:47 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:02:58 +0000 (19:02 -0400)
commit41e980356d4cdd74bfa4037647bfda7ebef3652e
treeb61da7160fcf1c8db0c0b29ba8ab07a2c797cfcb
parent8214b9fcd3930c18e96a973b0f8eacc31c75d33c
Unionfs: use igrab instead of atomic_inc inode refcnt

In branch management code, use igrab() which is better than directly
incrementing the lower inode reference count.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c