diff options
Diffstat (limited to 'fs/hugetlbfs/inode.c')
-rw-r--r-- | fs/hugetlbfs/inode.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 34423978b170..d19b30ababf1 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
@@ -926,14 +926,8 @@ static int get_hstate_idx(int page_size_log) | |||
926 | return h - hstates; | 926 | return h - hstates; |
927 | } | 927 | } |
928 | 928 | ||
929 | static char *hugetlb_dname(struct dentry *dentry, char *buffer, int buflen) | ||
930 | { | ||
931 | return dynamic_dname(dentry, buffer, buflen, "/%s (deleted)", | ||
932 | dentry->d_name.name); | ||
933 | } | ||
934 | |||
935 | static struct dentry_operations anon_ops = { | 929 | static struct dentry_operations anon_ops = { |
936 | .d_dname = hugetlb_dname | 930 | .d_dname = simple_dname |
937 | }; | 931 | }; |
938 | 932 | ||
939 | /* | 933 | /* |