commit | 18bb1db3e7607e4a997d50991a6f9fa5b0f8722c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 26 01:41:39 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:54:53 2012 -0500 |
tree | 4ee4e584bc9a67f3ec14ce159d2d7d4a27e68d4a | |
parent | 8208a22bb8bd3c52ef634b4ff194f14892ab1713 [diff] [blame] |
switch vfs_mkdir() and ->mkdir() to umode_t vfs_mkdir() gets int, but immediately drops everything that might not fit into umode_t and that's the only caller of ->mkdir()... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/bad_inode.c b/fs/bad_inode.c index 9205cf2..5a2738c 100644 --- a/fs/bad_inode.c +++ b/fs/bad_inode.c
@@ -202,7 +202,7 @@ } static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, - int mode) + umode_t mode) { return -EIO; }