fs: cifs: Replace _free_xid call in cifs_root_iget function
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 17 Mar 2018 21:06:56 +0000 (21:06 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 2 Apr 2018 01:24:40 +0000 (20:24 -0500)
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>
fs/cifs/inode.c

index 8f9a8cc7cc62558e71ef5896abf05437895979a3..c98a852180b15ace0d49d52839cd792fd99fb508 100644 (file)
@@ -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;
 }