]> asedeno.scripts.mit.edu Git - linux.git/commit
GFS2: Remove test which is always true
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 4 Dec 2013 11:14:05 +0000 (11:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 3 Jan 2014 09:59:30 +0000 (09:59 +0000)
commit7de41d36ff5885141a16c74a044936cf878c770f
treee0cdc52693444078ba899f3d8cba3626f351512c
parent7aed98fb1dfbd3f6d7b78647ff2956de2fcc4150
GFS2: Remove test which is always true

Since gfs2_inplace_reserve() is always called with a valid
alloc parms structure, there is no need to test for this
within the function itself - and in any case, after we've
all ready dereferenced it anyway.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c