Re: [PATCH 0/8] fs: merge struct filep (FILE) and struct file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 07 Jan 2025 08:59:31 +0100, Ahmad Fatoum wrote:
> Since dcache support was added, we had two structs representing files:
> struct file and type struct filep FILE. The former was used only for
> listing files in ->iterate and the latter everywhere else for
> representing an open file (descriptor).
> 
> This series aligns the members of both struct sufficiently and then
> merges them to simplify porting kernel code.
> 
> [...]

Applied, thanks!

[1/8] fs: derive file descriptor number by pointer arithmetic
      https://git.pengutronix.de/cgit/barebox/commit/?id=6f8129f8667a (link may not be stable)
[2/8] fs: drop ifdefs in linux/fs.h
      https://git.pengutronix.de/cgit/barebox/commit/?id=79bc7900d921 (link may not be stable)
[3/8] fs: retire FILE.in_use member
      https://git.pengutronix.de/cgit/barebox/commit/?id=6e6d6c9a7193 (link may not be stable)
[4/8] fs: align FILE struct member names with upstream struct file
      https://git.pengutronix.de/cgit/barebox/commit/?id=69de990ac09d (link may not be stable)
[5/8] fs: fat: rename f_size to f_len
      https://git.pengutronix.de/cgit/barebox/commit/?id=18a8c7fa6a93 (link may not be stable)
[6/8] fs: replace FILE.size by f_inode.i_size
      https://git.pengutronix.de/cgit/barebox/commit/?id=2497d528a133 (link may not be stable)
[7/8] fs: merge struct file and struct filep
      https://git.pengutronix.de/cgit/barebox/commit/?id=b3a39aed8208 (link may not be stable)
[8/8] fs: retire FILE typdef
      https://git.pengutronix.de/cgit/barebox/commit/?id=7a861f96a311 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux