[GIT PULL] Orangefs: cleanups and a strncpy vulnerability fix
From: Mike Marshall
Date: Fri Apr 08 2016 - 16:10:20 EST
The following changes since commit 9735a22799b9214d17d3c231fe377fc852f042e9:
Linux 4.6-rc2 (2016-04-03 09:09:40 -0500)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux.git
tags/for-linus-4.6-ofs1
for you to fetch changes up to e56f49814250f4ca4b66ec7d3a71152846761d1b:
orangefs: remove unused variable (2016-04-08 15:50:44 -0400)
----------------------------------------------------------------
Orangefs: cleanups and a strncpy vulnerability fix.
Cleanups:
- remove an unused variable from orangefs_readdir.
- clean up printk wrapper used for ofs "gossip" debugging.
- clean up truncate ctime and mtime setting in inode.c
- remove a useless null check found by coccinelle.
- optimize some memcpy/memset boilerplate code.
- remove some useless sanity checks from xattr.c
Fix:
- fix a potential strncpy vulnerability.
----------------------------------------------------------------
Joe Perches (1):
orangefs: Add KERN_<LEVEL> to gossip_<level> macros
Martin Brandenburg (3):
orangefs: clean up truncate ctime and mtime setting
orangefs: strncpy -> strscpy
orangefs: remove unused variable
Mike Marshall (2):
Orangefs: xattr.c cleanup
Orangefs: optimize boilerplate code.
kbuild test robot (1):
Orangefs: fix ifnullfree.cocci warnings
fs/orangefs/dir.c | 4 +---
fs/orangefs/inode.c | 16 +---------------
fs/orangefs/orangefs-debugfs.c | 3 +--
fs/orangefs/orangefs-utils.c | 6 +++++-
fs/orangefs/protocol.h | 33 ++++++++++++++++++---------------
fs/orangefs/xattr.c | 19 ++-----------------
6 files changed, 28 insertions(+), 53 deletions(-)