diff options
author | Vijay Bellur <vijay@gluster.com> | 2010-10-12 03:06:30 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-12 02:39:01 -0700 |
commit | 9bad9d59f0f19fe20f90c6ed80e25c7db08b3371 (patch) | |
tree | 05dc2622a1ab6e00930f3846bd79cf560e8a939e /libglusterfs/src/inode.c | |
parent | f637330995eab92a1d0b9f4ad9c43acfaad35037 (diff) | |
download | glusterfs-9bad9d59f0f19fe20f90c6ed80e25c7db08b3371.tar.gz glusterfs-9bad9d59f0f19fe20f90c6ed80e25c7db08b3371.tar.xz glusterfs-9bad9d59f0f19fe20f90c6ed80e25c7db08b3371.zip |
Change assert to GF_ASSERT
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'libglusterfs/src/inode.c')
-rw-r--r-- | libglusterfs/src/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c index bdc2c6e488..04e4560ed8 100644 --- a/libglusterfs/src/inode.c +++ b/libglusterfs/src/inode.c @@ -306,7 +306,7 @@ __inode_unref (inode_t *inode) if (inode->ino == 1) return inode; - assert (inode->ref); + GF_ASSERT (inode->ref); --inode->ref; @@ -501,7 +501,7 @@ __inode_forget (inode_t *inode, uint64_t nlookup) if (!inode) return NULL; - assert (inode->nlookup >= nlookup); + GF_ASSERT (inode->nlookup >= nlookup); inode->nlookup -= nlookup; |