diff options
author | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-22 01:52:58 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-22 01:52:58 -0500 |
commit | 4fdc7781799926dca6c3a3bb6e9533a9718c4dea (patch) | |
tree | 5a2aa2b3ff6f13fb8eeb4079c857f16012d7ac20 /fs/xfs/xfs_buf_item.c | |
parent | d415867e0abc35e3b2f0d4196e98c339d6fe29a2 (diff) |
[XFS] Remove XFS_BUF_SHUT() and friends
Code does nothing so remove it.
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index d74ce1134262..92af4098c7e8 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c | |||
@@ -998,21 +998,7 @@ xfs_buf_iodone_callbacks( | |||
998 | xfs_buf_do_callbacks(bp, lip); | 998 | xfs_buf_do_callbacks(bp, lip); |
999 | XFS_BUF_SET_FSPRIVATE(bp, NULL); | 999 | XFS_BUF_SET_FSPRIVATE(bp, NULL); |
1000 | XFS_BUF_CLR_IODONE_FUNC(bp); | 1000 | XFS_BUF_CLR_IODONE_FUNC(bp); |
1001 | 1001 | xfs_biodone(bp); | |
1002 | /* | ||
1003 | * XFS_SHUT flag gets set when we go thru the | ||
1004 | * entire buffer cache and deliberately start | ||
1005 | * throwing away delayed write buffers. | ||
1006 | * Since there's no biowait done on those, | ||
1007 | * we should just brelse them. | ||
1008 | */ | ||
1009 | if (XFS_BUF_ISSHUT(bp)) { | ||
1010 | XFS_BUF_UNSHUT(bp); | ||
1011 | xfs_buf_relse(bp); | ||
1012 | } else { | ||
1013 | xfs_biodone(bp); | ||
1014 | } | ||
1015 | |||
1016 | return; | 1002 | return; |
1017 | } | 1003 | } |
1018 | 1004 | ||