diff options
author | Bob Peterson <rpeterso@redhat.com> | 2010-06-24 19:21:20 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-07-29 09:36:56 +0100 |
commit | 461cb419f074aab16836a660efb8e855b6c1609c (patch) | |
tree | 0b4ca5ab5c01efc37505a43ad96dbc94ae2bb95b /fs/Makefile | |
parent | ba6e93645f039bd357e04b7b9d18f4e67757725e (diff) | |
download | op-kernel-dev-461cb419f074aab16836a660efb8e855b6c1609c.zip op-kernel-dev-461cb419f074aab16836a660efb8e855b6c1609c.tar.gz |
GFS2: Simplify gfs2_write_alloc_required
Function gfs2_write_alloc_required always returned zero as its
return code. Therefore, it doesn't need to return a return code
at all. Given that, we can use the return value to return whether
or not the dinode needs block allocations rather than passing
that value in, which in turn simplifies a bunch of error checking.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions