diff options
author | Dave Chinner <[email protected]> | 2012-11-14 17:42:47 +1100 |
---|---|---|
committer | Ben Myers <[email protected]> | 2012-11-14 15:11:19 -0600 |
commit | f5b8911b67eb4f15d95d5e5324d376d4a49d56e8 (patch) | |
tree | 35c98fdcbefd3c8a52d062f73775cde9aaac75d6 /fs/jbd2/commit.c | |
parent | de497688daaabbab425a8a969528272ec1d962a6 (diff) |
xfs: remove xfs_tosspages
It's a buggy, unnecessary wrapper that is duplicating
truncate_pagecache_range().
When replacing the call in xfs_change_file_space(), also ensure that
the length being allocated/freed is always positive before making
any changes. These checks are done in the lower extent manipulation
functions, too, but we need to do them before any page cache
operations.
Reported-by: Andrew Dahl <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-By: Andrew Dahl <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions