summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorSubha sree Mohankumar <smohanku@redhat.com>2017-09-25 01:03:09 +0530
committerAmar Tumballi <amarts@redhat.com>2017-10-31 07:56:24 +0000
commit1d92d5173b1c9e5cda60fe5c5a237fc4b82df030 (patch)
treeaaa7dcfb4b652ddee9b779c2afdf7a192d6b6069 /xlators/mgmt
parentf4805ca6cf67d1d8394b14f21eceb2d9592ba228 (diff)
Xlators/features: Coverity Issue "NEGATIVE_RETURNS" in worm_truncate,worm_ftruncate,worm_link,worn_unlink and worm_rename.
Issue :Event negative_returns: "op_errno" is passed to a parameter that cannot be negative. Fix : In functions worm_link,worm_unlink,worm_truncate,worm_ftruncate and worm_rename, added an condition to check the whether value of "op_errno" is negative or not.If the value is negative, then it is set to EROFS. Change-Id: Ie65601b6cc9799f587cc574408281dab50a58afb BUG: 789278 Signed-off-by: Subha sree Mohankumar <smohanku@redhat.com>
Diffstat (limited to 'xlators/mgmt')
0 files changed, 0 insertions, 0 deletions