]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: fix compilation error
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 2 Apr 2009 22:51:11 +0000 (15:51 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 2 Apr 2009 22:51:11 +0000 (15:51 -0700)
src/kernel/export.c

index c514d923189315a88aa1eefabf4ffc1f6200ecf5..6e73db86f17fd5e15930d7914609fdfef999ea20 100644 (file)
@@ -117,11 +117,11 @@ static struct dentry *__fh_to_dentry(struct super_block *sb,
                iput(inode);
                return ERR_PTR(-ENOMEM);
        }
-       ret = ceph_init_dentry(dentry);
+       err = ceph_init_dentry(dentry);
 
-       if (ret < 0) {
+       if (err < 0) {
                iput(inode);
-               return ERR_PTR(ret);
+               return ERR_PTR(err);
        }
        dout(10, "fh_to_dentry %llx.%x -- inode %p dentry %p\n", fh->ino.ino,
             hash, inode, dentry);