Skip to content

Commit

Permalink
ext2: remove the redundant comment for ext2_export_ops
Browse files Browse the repository at this point in the history
The comment is outdated and isn't particularly informative anyway - NULL
meaning the default behavior is very common in kernel. And we really set about
half of entries. So remove the whole comment for ext2_export_ops.

Signed-off-by: Wang Sheng-Hui <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
Wang Sheng-Hui authored and jankara committed May 15, 2012
1 parent d7dab39 commit aa9e939
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fs/ext2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,6 @@ static struct dentry *ext2_fh_to_parent(struct super_block *sb, struct fid *fid,
ext2_nfs_get_inode);
}

/* Yes, most of these are left as NULL!!
* A NULL value implies the default, which works with ext2-like file
* systems, but can be improved upon.
* Currently only get_parent is required.
*/
static const struct export_operations ext2_export_ops = {
.fh_to_dentry = ext2_fh_to_dentry,
.fh_to_parent = ext2_fh_to_parent,
Expand Down

0 comments on commit aa9e939

Please sign in to comment.