summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_symlink.h
diff options
context:
space:
mode:
authorMark Tinguely <tinguely@sgi.com>2013-06-17 15:35:57 -0500
committerBen Myers <bpm@sgi.com>2013-06-19 14:14:43 -0500
commit725eb1eb2ae88c200466fec34bcf1fbce4b8eca3 (patch)
tree7460ee9819514f53f842f9df3e29485bf9daf878 /fs/xfs/xfs_symlink.h
parent1ebdf3611c8968e7202c47c2dcb2d36986c44cb0 (diff)
downloadlinux-stable-725eb1eb2ae88c200466fec34bcf1fbce4b8eca3.tar.gz
linux-stable-725eb1eb2ae88c200466fec34bcf1fbce4b8eca3.tar.bz2
linux-stable-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_symlink.h')
-rw-r--r--fs/xfs/xfs_symlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_symlink.h b/fs/xfs/xfs_symlink.h
index b39398d2097c..374394880c01 100644
--- a/fs/xfs/xfs_symlink.h
+++ b/fs/xfs/xfs_symlink.h
@@ -60,7 +60,7 @@ extern const struct xfs_buf_ops xfs_symlink_buf_ops;
int xfs_symlink(struct xfs_inode *dp, struct xfs_name *link_name,
const char *target_path, umode_t mode, struct xfs_inode **ipp);
int xfs_readlink(struct xfs_inode *ip, char *link);
-int xfs_inactive_symlink_rmt(struct xfs_inode *ip, struct xfs_trans **tpp);
+int xfs_inactive_symlink(struct xfs_inode *ip, struct xfs_trans **tpp);
#endif /* __KERNEL__ */
#endif /* __XFS_SYMLINK_H */