printk/nmi: warn when some message has been lost in NMI context
[deliverable/linux.git] / kernel / audit_watch.c
index 3cf1c5978d39e4fbc7f44826017bbdd755f6c9df..d6709eb70970eb764bd14af1d1874fe5144b9053 100644 (file)
@@ -367,7 +367,7 @@ static int audit_get_nd(struct audit_watch *watch, struct path *parent)
        inode_unlock(d_backing_inode(parent->dentry));
        if (d_is_positive(d)) {
                /* update watch filter fields */
-               watch->dev = d_backing_inode(d)->i_sb->s_dev;
+               watch->dev = d->d_sb->s_dev;
                watch->ino = d_backing_inode(d)->i_ino;
        }
        dput(d);
This page took 0.037371 seconds and 5 git commands to generate.