lkml.org 
[lkml]   [2012]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] efi: add efivars kobject to efi sysfs folder
Hi Matt,

> Jeremy, did you want to pick this up as part of your series?

I have this in my series, yes. I'm just working on the authenticated
delete code, then will send out the next revision.

Speaking of which - Peter: I've realised that doing a GetVariable()
after the SetVariable is a much cleaner way of checking whether we need
to drop the inode after an authenticated delete.

Because the inode's size may not be simply updated by the write(), we
should probably be doing a GetVariable() after an APPEND_WRITE, to read
the new size. Rather than having a separate (and quite complex) code
path to check for the delete case, we may as well use the same logic to
determine if the variable has been deleted.

> Actually, shouldn't the new filesystem be called "efivarfs", or "efifs"
> to make it more explicit that it is a filesystem?

I'm not too fussed about the name, but +1 for efivarfs.

> We also need something in Documentation/filesystems/ describing the old
> EFI variable method, why it's no longer any good, and why the new
> filesystem is favoured. Does anybody have anything to add to the
> following?

Looks good to me. We can always elaborate later, if necessary.

Cheers,


Jeremy



\
 
 \ /
  Last update: 2012-10-04 11:41    [W:0.999 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site