mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
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:
parent
a09a42b65d
commit
5cb4f10729
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user