diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2006-09-28 01:05:46 (GMT) |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-09-28 01:05:46 (GMT) |
commit | 7ae67d78e7518fba89e5f3a74bdcb68e48ae8858 (patch) | |
tree | 6582b0968c4c8554eeb16efb8d9b7018877671f1 /fs/xfs/xfs_iget.c | |
parent | 91d87232044c1ceb8371625c27479e982984a848 (diff) | |
download | linux-fsl-qoriq-7ae67d78e7518fba89e5f3a74bdcb68e48ae8858.tar.xz |
[XFS] standardize on one sema init macro
One sema to rule them all, one sema to find them...
SGI-PV: 907752
SGI-Modid: xfs-linux-melb:xfs-kern:26911a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r-- | fs/xfs/xfs_iget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c index e304ab0..9b93797 100644 --- a/fs/xfs/xfs_iget.c +++ b/fs/xfs/xfs_iget.c @@ -546,7 +546,7 @@ xfs_inode_lock_init( mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", vp->v_number); init_waitqueue_head(&ip->i_ipin_wait); atomic_set(&ip->i_pincount, 0); - init_sema(&ip->i_flock, 1, "xfsfino", vp->v_number); + initnsema(&ip->i_flock, 1, "xfsfino"); } /* |