]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add CRC checks to remote symlinks
authorDave Chinner <dchinner@redhat.com>
Wed, 3 Apr 2013 05:11:19 +0000 (16:11 +1100)
committerBen Myers <bpm@sgi.com>
Sat, 27 Apr 2013 16:49:28 +0000 (11:49 -0500)
commit70a7760899159e236a27c8062661ef7af25e434d
tree457f8097ba46f72ecb6417f96f890f9ee202f6cc
parentf744f030c6622b605ae47ff857b0c163b2f3280f
xfs: add CRC checks to remote symlinks

Add a header to the remote symlink block, containing location and
owner information, as well as CRCs and LSN fields. This requires
verifiers to be added to the remote symlink buffers for CRC enabled
filesystems.

This also fixes a bug reading multiple block symlinks, where the second
block overwrites the first block when copying out the link name.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf_item.h
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_symlink.c
fs/xfs/xfs_symlink.h