summaryrefslogtreecommitdiff
path: root/lib/ratelimit.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-04-10 14:36:51 +0300
committerDavid Sterba <dsterba@suse.com>2024-05-07 22:31:03 +0300
commit0ddefc2a7ce4be261a4ac3dffdca4a2ee9b716af (patch)
treea88d9ddbc731b8ff305848d5e5f411864bd7e664 /lib/ratelimit.c
parent590e2c4a1e82cd9b878bdaa70ab54026d0165bbc (diff)
downloadlinux-0ddefc2a7ce4be261a4ac3dffdca4a2ee9b716af.tar.xz
btrfs: move btrfs_page_mkwrite() from inode.c into file.c
btrfs_page_mkwrite() is a struct vm_operations_struct callback and we define that structure in file.c. Currently the function is in inode.c and has to be exported to be used in file.c, which makes no sense because it's not used anywhere else. So move btrfs_page_mkwrite() from inode.c and into file.c. While at it do a few minor style changes: 1) Capitalize the first word of every comment and end each sentence with punctuation; 2) Avoid splitting some statements into two lines when everything fits in 85 characters or less. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions