xfs: fix the symbolic link assert in xfs_ifree
commit725eb1eb2ae88c200466fec34bcf1fbce4b8eca3
authorMark Tinguely <tinguely@sgi.com>
Mon, 17 Jun 2013 20:35:57 +0000 (17 15:35 -0500)
committerBen Myers <bpm@sgi.com>
Wed, 19 Jun 2013 19:14:43 +0000 (19 14:14 -0500)
tree7460ee9819514f53f842f9df3e29485bf9daf878
parent1ebdf3611c8968e7202c47c2dcb2d36986c44cb0
xfs: fix the symbolic link assert in xfs_ifree

Adding an extended attribute to a symbolic link can force that
link to an remote extent. xfs_inactive() incorrectly assumes
that any symbolic link small enough to be in the inode core
is incore, resulting in the remote extent to not be removed.
xfs_ifree() will assert on presence of this leaked remote extent.

Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_symlink.c
fs/xfs/xfs_symlink.h
fs/xfs/xfs_trace.h
fs/xfs/xfs_vnodeops.c