diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-02-17 22:34:57 +0300 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-03-02 01:35:10 +0300 |
commit | 024910cbac323ab2e5ad6d7fa7958799b04b9728 (patch) | |
tree | 6902b06ec9307930e17964192f9e8bfdb750d3bd /fs/xfs/xfs_filestream.c | |
parent | 77d7a0c2eeb285c9069e15396703d0cb9690ac50 (diff) | |
download | linux-024910cbac323ab2e5ad6d7fa7958799b04b9728.tar.xz |
xfs: fix inode pincount check in fsync
We need to hold the ilock to check the inode pincount safely. While
we're at it also remove the check for ip->i_itemp->ili_last_lsn, a
pinned inode always has it set.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_filestream.c')
0 files changed, 0 insertions, 0 deletions