diff options
author | Mark Tinguely <tinguely@sgi.com> | 2013-06-17 15:35:57 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-06-19 14:14:43 -0500 |
commit | 725eb1eb2ae88c200466fec34bcf1fbce4b8eca3 (patch) | |
tree | 7460ee9819514f53f842f9df3e29485bf9daf878 /fs/xfs/xfs_trace.h | |
parent | 1ebdf3611c8968e7202c47c2dcb2d36986c44cb0 (diff) | |
download | blackbird-obmc-linux-725eb1eb2ae88c200466fec34bcf1fbce4b8eca3.tar.gz blackbird-obmc-linux-725eb1eb2ae88c200466fec34bcf1fbce4b8eca3.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
-rw-r--r-- | fs/xfs/xfs_trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index aa4db3307d36..e31867270077 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -571,6 +571,7 @@ DEFINE_INODE_EVENT(xfs_iget_miss); DEFINE_INODE_EVENT(xfs_getattr); DEFINE_INODE_EVENT(xfs_setattr); DEFINE_INODE_EVENT(xfs_readlink); +DEFINE_INODE_EVENT(xfs_inactive_symlink); DEFINE_INODE_EVENT(xfs_alloc_file_space); DEFINE_INODE_EVENT(xfs_free_file_space); DEFINE_INODE_EVENT(xfs_readdir); |