DEVEL15-linux24-no-backing-dev-20090112

LICENSE IPL10
FIXES 124100

backing_dev_info isn't in 2.4


(cherry picked from commit 434ad307430fc12968abd65e007f8e606aa55917)
This commit is contained in:
Marc Dionne 2009-01-12 13:28:55 +00:00 committed by Derrick Brashear
parent a09a42b65d
commit 5cb4f10729

View File

@ -2266,7 +2266,9 @@ afs_fill_inode(struct inode *ip, struct vattr *vattr)
if (vattr) if (vattr)
vattr2inode(ip, vattr); vattr2inode(ip, vattr);
#if defined(AFS_LINUX26_ENV)
ip->i_mapping->backing_dev_info = &afs_backing_dev_info; ip->i_mapping->backing_dev_info = &afs_backing_dev_info;
#endif
/* Reset ops if symlink or directory. */ /* Reset ops if symlink or directory. */
if (S_ISREG(ip->i_mode)) { if (S_ISREG(ip->i_mode)) {
ip->i_op = &afs_file_iops; ip->i_op = &afs_file_iops;