Whamcloud - gitweb
Branch b1_8_gate
authoryangsheng <yangsheng>
Tue, 11 Nov 2008 04:08:13 +0000 (04:08 +0000)
committeryangsheng <yangsheng>
Tue, 11 Nov 2008 04:08:13 +0000 (04:08 +0000)
b=17379

Get rid warning of compiler.

lustre/llite/symlink.c

index 8841385..6c86ed1 100644 (file)
@@ -182,7 +182,9 @@ static LL_FOLLOW_LINK_RETURN_TYPE ll_follow_link(struct dentry *dentry, struct n
         rc = ll_readlink_internal(inode, &request, &symname);
         up(&lli->lli_size_sem);
         if (rc) {
+#if THREAD_SIZE < 8192
 out_release:
+#endif
                 path_release(nd); /* Kernel assumes that ->follow_link()
                                      releases nameidata on error */
                 GOTO(out, rc);