commit | 10556cb21a0d0b24d95f00ea6df16f599a3345b2 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Jun 20 19:28:19 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Jul 20 01:43:24 2011 -0400 |
tree | 3d7d8dfba807805a55c154f1850717bf3b49f343 | |
parent | 2830ba7f34ebb27c4e5b8b6ef408cd6d74860890 [diff] [blame] |
->permission() sanitizing: don't pass flags to ->permission() not used by the instances anymore. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/bad_inode.c b/fs/bad_inode.c index bfcb18f..f024d8a 100644 --- a/fs/bad_inode.c +++ b/fs/bad_inode.c
@@ -229,7 +229,7 @@ return -EIO; } -static int bad_inode_permission(struct inode *inode, int mask, unsigned int flags) +static int bad_inode_permission(struct inode *inode, int mask) { return -EIO; }