Skip to content

Commit 4fcd4de

Browse files
author
Kent Overstreet
committed
bcachefs: fs-common.c -> namei.c
name <-> inode, code for managing the relationships between inodes and dirents. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 8a9f3d0 commit 4fcd4de

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

fs/bcachefs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ bcachefs-y := \
4141
extent_update.o \
4242
eytzinger.o \
4343
fs.o \
44-
fs-common.o \
4544
fs-ioctl.o \
4645
fs-io.o \
4746
fs-io-buffered.o \
@@ -64,6 +63,7 @@ bcachefs-y := \
6463
migrate.o \
6564
move.o \
6665
movinggc.o \
66+
namei.o \
6767
nocow_locking.o \
6868
opts.o \
6969
printbuf.o \

fs/bcachefs/error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#include "btree_cache.h"
44
#include "btree_iter.h"
55
#include "error.h"
6-
#include "fs-common.h"
76
#include "journal.h"
7+
#include "namei.h"
88
#include "recovery_passes.h"
99
#include "super.h"
1010
#include "thread_with_file.h"

fs/bcachefs/fs-ioctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include "chardev.h"
66
#include "dirent.h"
77
#include "fs.h"
8-
#include "fs-common.h"
98
#include "fs-ioctl.h"
9+
#include "namei.h"
1010
#include "quota.h"
1111

1212
#include <linux/compat.h>

fs/bcachefs/fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "errcode.h"
1212
#include "extents.h"
1313
#include "fs.h"
14-
#include "fs-common.h"
1514
#include "fs-io.h"
1615
#include "fs-ioctl.h"
1716
#include "fs-io-buffered.h"
@@ -22,6 +21,7 @@
2221
#include "io_read.h"
2322
#include "journal.h"
2423
#include "keylist.h"
24+
#include "namei.h"
2525
#include "quota.h"
2626
#include "rebalance.h"
2727
#include "snapshot.h"

fs/bcachefs/fsck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
#include "dirent.h"
1111
#include "error.h"
1212
#include "fs.h"
13-
#include "fs-common.h"
1413
#include "fsck.h"
1514
#include "inode.h"
1615
#include "keylist.h"
16+
#include "namei.h"
1717
#include "recovery_passes.h"
1818
#include "snapshot.h"
1919
#include "super.h"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include "acl.h"
55
#include "btree_update.h"
66
#include "dirent.h"
7-
#include "fs-common.h"
87
#include "inode.h"
8+
#include "namei.h"
99
#include "subvolume.h"
1010
#include "xattr.h"
1111

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
#ifndef _BCACHEFS_FS_COMMON_H
3-
#define _BCACHEFS_FS_COMMON_H
2+
#ifndef _BCACHEFS_NAMEI_H
3+
#define _BCACHEFS_NAMEI_H
44

55
#include "dirent.h"
66

@@ -44,4 +44,4 @@ bool bch2_reinherit_attrs(struct bch_inode_unpacked *,
4444

4545
int bch2_inum_to_path(struct btree_trans *, subvol_inum, struct printbuf *);
4646

47-
#endif /* _BCACHEFS_FS_COMMON_H */
47+
#endif /* _BCACHEFS_NAMEI_H */

fs/bcachefs/recovery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
#include "disk_accounting.h"
1414
#include "errcode.h"
1515
#include "error.h"
16-
#include "fs-common.h"
1716
#include "journal_io.h"
1817
#include "journal_reclaim.h"
1918
#include "journal_seq_blacklist.h"
2019
#include "logged_ops.h"
2120
#include "move.h"
21+
#include "namei.h"
2222
#include "quota.h"
2323
#include "rebalance.h"
2424
#include "recovery.h"

0 commit comments

Comments
 (0)