Эх сурвалжийг харах

fs: cifs: Replace _free_xid call in cifs_root_iget function

Modify end of cifs_root_iget function in fs/cifs/inode.c to call
free_xid(xid) instead of _free_xid(xid), thereby allowing debug
notification of this action when enabled.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Steve French <smfrench@gmail.com>
Phillip Potter 7 жил өмнө
parent
commit
31cd106bb1
1 өөрчлөгдсөн 1 нэмэгдсэн , 4 устгасан
  1. 1 4
      fs/cifs/inode.c

+ 1 - 4
fs/cifs/inode.c

@@ -1066,10 +1066,7 @@ iget_no_retry:
 
 out:
 	kfree(path);
-	/* can not call macro free_xid here since in a void func
-	 * TODO: This is no longer true
-	 */
-	_free_xid(xid);
+	free_xid(xid);
 	return inode;
 }