Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 307543 Details for
Bug 449330
stat() syscall on a file returns id of diapered device in st_dev
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch
449330.patch (text/plain), 1004 bytes, created by
Robert Peterson
on 2008-06-02 18:06:45 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Robert Peterson
Created:
2008-06-02 18:06:45 UTC
Size:
1004 bytes
patch
obsolete
> gfs-kernel/src/gfs/ops_inode.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/gfs-kernel/src/gfs/ops_inode.c b/gfs-kernel/src/gfs/ops_inode.c >index 0e49679..7fc1941 100644 >--- a/gfs-kernel/src/gfs/ops_inode.c >+++ b/gfs-kernel/src/gfs/ops_inode.c >@@ -29,6 +29,7 @@ > #include "gfs.h" > #include "acl.h" > #include "bmap.h" >+#include "diaper.h" > #include "dio.h" > #include "dir.h" > #include "eaops.h" >@@ -1647,6 +1648,7 @@ gfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) > struct inode *inode = dentry->d_inode; > struct gfs_inode *ip = vn2ip(inode); > struct gfs_holder gh; >+ struct block_device *blk_dev; > int error; > > atomic_inc(&ip->i_sbd->sd_ops_inode); >@@ -1655,6 +1657,9 @@ gfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) > if (!error) > { > generic_fillattr(inode, stat); >+ blk_dev = gfs_diaper_2real(inode->i_sb->s_bdev); >+ if (blk_dev) >+ stat->dev = blk_dev->bd_dev; > gfs_glock_dq_uninit(&gh); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 449330
: 307543