summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2018-03-18 00:06:56 +0300
committerSteve French <stfrench@microsoft.com>2018-04-02 04:24:40 +0300
commit31cd106bb141b54ba4db5c1078c3f58f0c6e8dfa (patch)
tree5dd06025530fc9b82279b29f10bc51411a4c84d1 /fs/cifs
parentd68f353fc9d086a88331d6714e437bd7f4f77f48 (diff)
downloadlinux-31cd106bb141b54ba4db5c1078c3f58f0c6e8dfa.tar.xz
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>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/inode.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 8f9a8cc7cc62..c98a852180b1 100644
--- a/fs/cifs/inode.c
+++ b/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;
}