Orangefs: xattr.c cleanup
authorMike Marshall <hubcap@omnibond.com>
Wed, 6 Apr 2016 14:52:38 +0000 (10:52 -0400)
committerMike Marshall <hubcap@omnibond.com>
Fri, 8 Apr 2016 18:08:27 +0000 (14:08 -0400)
commit2d09a2ca6a6c66d765458df2653f888c4a481c81
treeeccdc3563f78d10fdc043e428f37adc0546fa896
parent9735a22799b9214d17d3c231fe377fc852f042e9
Orangefs: xattr.c cleanup

1. It is nonsense to test for negative size_t, suggested by
   David Binderman <dcb314@hotmail.com>

2. By the time Orangefs gets called, the vfs has ensured that
   name != NULL, and that buffer and size are sane.

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/xattr.c