diff options
author | Phillip Potter <phil@philpotter.co.uk> | 2018-03-17 17:06:56 -0400 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-04-01 21:24:40 -0400 |
commit | 31cd106bb141b54ba4db5c1078c3f58f0c6e8dfa (patch) | |
tree | 5dd06025530fc9b82279b29f10bc51411a4c84d1 | |
parent | d68f353fc9d086a88331d6714e437bd7f4f77f48 (diff) |
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>
-rw-r--r-- | fs/cifs/inode.c | 5 |
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: | |||
1066 | 1066 | ||
1067 | out: | 1067 | out: |
1068 | kfree(path); | 1068 | kfree(path); |
1069 | /* can not call macro free_xid here since in a void func | 1069 | free_xid(xid); |
1070 | * TODO: This is no longer true | ||
1071 | */ | ||
1072 | _free_xid(xid); | ||
1073 | return inode; | 1070 | return inode; |
1074 | } | 1071 | } |
1075 | 1072 | ||