]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: set buf types when converting extent formats
authorDave Chinner <dchinner@redhat.com>
Wed, 21 Jan 2015 22:30:06 +0000 (09:30 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 21 Jan 2015 22:30:06 +0000 (09:30 +1100)
commitfe22d552b82d7cc7de1851233ae8bef579198637
tree106482e8bd9a8567a0754c59d5fc38d3cb9a577b
parentf19b872b086711bb4b22c3a0f52f16aa920bcc61
xfs: set buf types when converting extent formats

Conversion from local to extent format does not set the buffer type
correctly on the new extent buffer when a symlink data is moved out
of line.

Fix the symlink code and leave a comment in the generic bmap code
reminding us that the format-specific data copy needs to set the
destination buffer type appropriately.

cc: <stable@vger.kernel.org> # 3.10 to current
Tested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_symlink_remote.c