commit | 4d8d15812fd9bc96d0da11467d23e0373feae933 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Tue Jan 11 10:23:42 2011 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Tue Jan 11 10:23:42 2011 +1100 |
tree | 8f81ae552502cd13259f289cfee110a89579ea59 | |
parent | 637bbc75d9fda57c7bc77ce5ee37e29a77a0520d [diff] |
xfs: factor common write setup code The buffered IO and direct IO write paths share a common set of checks and limiting code prior to issuing the write. Factor that into a common helper function. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>