]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/bad_inode.c
aio: now fput() is OK from interrupt context; get rid of manual delayed __fput()
[karo-tx-linux.git] / fs / bad_inode.c
index 37268c5bb98b2f2061a2e18134ebcdec0544fd9a..b1342ffb3cf6e595125252ac82d5bd54ebbe9544 100644 (file)
@@ -173,13 +173,13 @@ static const struct file_operations bad_file_ops =
 };
 
 static int bad_inode_create (struct inode *dir, struct dentry *dentry,
-               umode_t mode, struct nameidata *nd)
+               umode_t mode, bool excl)
 {
        return -EIO;
 }
 
 static struct dentry *bad_inode_lookup(struct inode *dir,
-                       struct dentry *dentry, struct nameidata *nd)
+                       struct dentry *dentry, unsigned int flags)
 {
        return ERR_PTR(-EIO);
 }
@@ -292,7 +292,6 @@ static const struct inode_operations bad_inode_ops =
        .getxattr       = bad_inode_getxattr,
        .listxattr      = bad_inode_listxattr,
        .removexattr    = bad_inode_removexattr,
-       /* truncate_range returns void */
 };