History

[PATCH] fs/ext2/: proper ext2_get_parent() prototype

Add a proper prototype for ext2_get_parent().

Adrian Bunk committed 20 years ago

Commit 2c221291 parent 29c6e482 files · +3 −1Browse files

Unified · Split

2 files
  1. fs/ext2/ext2.h +3 −0
  2. fs/ext2/super.c +0 −1
fs/ext2/ext2.h+3−0
@@ -138,6 +138,9 @@ extern void ext2_set_inode_flags(struct inode *inode); · 137 unmodified lines
138extern int ext2_ioctl (struct inode *, struct file *, unsigned int,138extern int ext2_ioctl (struct inode *, struct file *, unsigned int,
139 unsigned long);139 unsigned long);
140 140
141/* namei.c */
142struct dentry *ext2_get_parent(struct dentry *child);
143
141/* super.c */144/* super.c */
142extern void ext2_error (struct super_block *, const char *, const char *, ...)145extern void ext2_error (struct super_block *, const char *, const char *, ...)
143 __attribute__ ((format (printf, 3, 4)));146 __attribute__ ((format (printf, 3, 4)));
fs/ext2/super.c+0−1
@@ -258,7 +258,6 @@ static struct super_operations ext2_sops = { · 257 unmodified lines
258 * systems, but can be improved upon.258 * systems, but can be improved upon.
259 * Currently only get_parent is required.259 * Currently only get_parent is required.
260 */260 */
261struct dentry *ext2_get_parent(struct dentry *child);
262static struct export_operations ext2_export_ops = {261static struct export_operations ext2_export_ops = {
263 .get_parent = ext2_get_parent,262 .get_parent = ext2_get_parent,
264};263};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t