Skip to content

Commit 6bdd0a6

Browse files
Kanchan Joshikawasaki
authored andcommitted
fs: add a new user_write_streams() callback
so that filesystem can control number of write streams for user space. Signed-off-by: Kanchan Joshi <[email protected]>
1 parent f092a9b commit 6bdd0a6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

include/linux/fs.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,6 +2377,11 @@ struct super_operations {
23772377
*/
23782378
int (*remove_bdev)(struct super_block *sb, struct block_device *bdev);
23792379
void (*shutdown)(struct super_block *sb);
2380+
/*
2381+
* Implement this callback if filesystem wants to control the
2382+
* number of streams that are available to user space.
2383+
*/
2384+
u8 (*user_write_streams)(struct super_block *sb);
23802385
};
23812386

23822387
/*

0 commit comments

Comments
 (0)