diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mqueue.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 02e6f6798972..840f8a6fb85f 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -115,7 +115,6 @@ static struct inode *mqueue_get_inode(struct super_block *sb, int mode, | |||
115 | inode->i_mode = mode; | 115 | inode->i_mode = mode; |
116 | inode->i_uid = current->fsuid; | 116 | inode->i_uid = current->fsuid; |
117 | inode->i_gid = current->fsgid; | 117 | inode->i_gid = current->fsgid; |
118 | inode->i_blksize = PAGE_CACHE_SIZE; | ||
119 | inode->i_blocks = 0; | 118 | inode->i_blocks = 0; |
120 | inode->i_mtime = inode->i_ctime = inode->i_atime = | 119 | inode->i_mtime = inode->i_ctime = inode->i_atime = |
121 | CURRENT_TIME; | 120 | CURRENT_TIME; |
@@ -1275,10 +1274,7 @@ out_filesystem: | |||
1275 | out_sysctl: | 1274 | out_sysctl: |
1276 | if (mq_sysctl_table) | 1275 | if (mq_sysctl_table) |
1277 | unregister_sysctl_table(mq_sysctl_table); | 1276 | unregister_sysctl_table(mq_sysctl_table); |
1278 | if (kmem_cache_destroy(mqueue_inode_cachep)) { | 1277 | kmem_cache_destroy(mqueue_inode_cachep); |
1279 | printk(KERN_INFO | ||
1280 | "mqueue_inode_cache: not all structures were freed\n"); | ||
1281 | } | ||
1282 | return error; | 1278 | return error; |
1283 | } | 1279 | } |
1284 | 1280 | ||