commit | 05b79cd18f55615e3cb6607f9b845ae76b9bcdf3 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon May 22 18:14:06 2017 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Jul 13 17:48:35 2017 -0700 |
tree | 6a0994ba522d83a4b48456c3a2eaa3309427574d | |
parent | dbf05329d29c84ea8f4a1b8e04dfe38c0a102772 [diff] |
fscrypt: inline fscrypt_free_filename() fscrypt_free_filename() only needs to do a kfree() of crypto_buf.name, which works well as an inline function. We can skip setting the various pointers to NULL, since no user cares about it (the name is always freed just before it goes out of scope). Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: David Gstir <david@sigma-star.at> Signed-off-by: Theodore Ts'o <tytso@mit.edu>