Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9489779 authored by Parag Warudkar's avatar Parag Warudkar Committed by Steve French
Browse files

[CIFS] remove unused funtion compile warning when experimental off



get rid of couple of unused function warnings which
show up when CONFIG_CIFS_EXPERIMENTAL is not defined - wrap them in
#ifdef CONFIG_CIFS_EXPERIMENTAL. Patch against current git.

Signed-off-by: default avatarParag Warudkar <kernel-stuff@comcast.net>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 7efb35af
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2486,6 +2486,7 @@ CIFSSMBUnixQuerySymLink(const int xid, struct cifsTconInfo *tcon,
	return rc;
	return rc;
}
}


#ifdef CONFIG_CIFS_EXPERIMENTAL
/* Initialize NT TRANSACT SMB into small smb request buffer.
/* Initialize NT TRANSACT SMB into small smb request buffer.
   This assumes that all NT TRANSACTS that we init here have
   This assumes that all NT TRANSACTS that we init here have
   total parm and data under about 400 bytes (to fit in small cifs
   total parm and data under about 400 bytes (to fit in small cifs
@@ -2569,6 +2570,7 @@ validate_ntransact(char *buf, char **ppparm, char **ppdata,
	}
	}
	return 0;
	return 0;
}
}
#endif /* CIFS_EXPERIMENTAL */


int
int
CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon,
CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon,