Merge tag 'fsnotify_for_v5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull fsnotify updates from Jan Kara: "Three fsnotify cleanups" * tag 'fsnotify_for_v5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: fsnotify: Add git tree reference to MAINTAINERS fsnotify/fdinfo: exportfs_encode_inode_fh() takes pointer as 4th argument fsnotify: move declaration of fsnotify_mark_connector_cachep to fsnotify.h
This commit is contained in:
@@ -6758,6 +6758,7 @@ FSNOTIFY: FILESYSTEM NOTIFICATION INFRASTRUCTURE
|
|||||||
M: Jan Kara <jack@suse.cz>
|
M: Jan Kara <jack@suse.cz>
|
||||||
R: Amir Goldstein <amir73il@gmail.com>
|
R: Amir Goldstein <amir73il@gmail.com>
|
||||||
L: linux-fsdevel@vger.kernel.org
|
L: linux-fsdevel@vger.kernel.org
|
||||||
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: fs/notify/
|
F: fs/notify/
|
||||||
F: include/linux/fsnotify*.h
|
F: include/linux/fsnotify*.h
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ static void show_mark_fhandle(struct seq_file *m, struct inode *inode)
|
|||||||
f.handle.handle_bytes = sizeof(f.pad);
|
f.handle.handle_bytes = sizeof(f.pad);
|
||||||
size = f.handle.handle_bytes >> 2;
|
size = f.handle.handle_bytes >> 2;
|
||||||
|
|
||||||
ret = exportfs_encode_inode_fh(inode, (struct fid *)f.handle.f_handle, &size, 0);
|
ret = exportfs_encode_inode_fh(inode, (struct fid *)f.handle.f_handle, &size, NULL);
|
||||||
if ((ret == FILEID_INVALID) || (ret < 0)) {
|
if ((ret == FILEID_INVALID) || (ret < 0)) {
|
||||||
WARN_ONCE(1, "Can't encode file handler for inotify: %d\n", ret);
|
WARN_ONCE(1, "Can't encode file handler for inotify: %d\n", ret);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -381,8 +381,6 @@ out:
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fsnotify);
|
EXPORT_SYMBOL_GPL(fsnotify);
|
||||||
|
|
||||||
extern struct kmem_cache *fsnotify_mark_connector_cachep;
|
|
||||||
|
|
||||||
static __init int fsnotify_init(void)
|
static __init int fsnotify_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|||||||
@@ -65,4 +65,6 @@ extern void __fsnotify_update_child_dentry_flags(struct inode *inode);
|
|||||||
extern struct fsnotify_event_holder *fsnotify_alloc_event_holder(void);
|
extern struct fsnotify_event_holder *fsnotify_alloc_event_holder(void);
|
||||||
extern void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder);
|
extern void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder);
|
||||||
|
|
||||||
|
extern struct kmem_cache *fsnotify_mark_connector_cachep;
|
||||||
|
|
||||||
#endif /* __FS_NOTIFY_FSNOTIFY_H_ */
|
#endif /* __FS_NOTIFY_FSNOTIFY_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user