Skip to content

Commit 0003654

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 e263d6e commit 0003654

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
@@ -2379,6 +2379,11 @@ struct super_operations {
23792379
*/
23802380
int (*remove_bdev)(struct super_block *sb, struct block_device *bdev);
23812381
void (*shutdown)(struct super_block *sb);
2382+
/*
2383+
* Implement this callback if filesystem wants to control the
2384+
* number of streams that are available to user space.
2385+
*/
2386+
u8 (*user_write_streams)(struct super_block *sb);
23822387
};
23832388

23842389
/*

0 commit comments

Comments
 (0)